edu.wis.jtlv.env.core.smv.eval
Class ValueIntStmt

java.lang.Object
  extended by edu.wis.jtlv.env.core.smv.eval.AbstractElement
      extended by edu.wis.jtlv.env.core.smv.eval.ValueStmt
          extended by edu.wis.jtlv.env.core.smv.eval.ValueIntStmt

public class ValueIntStmt
extends ValueStmt


Field Summary
 
Fields inherited from class edu.wis.jtlv.env.core.smv.eval.ValueStmt
toStringlength
 
Constructor Summary
ValueIntStmt(SMVModule a_context, BDDVarSet a_var_set)
           
 
Method Summary
 BDD aboveIntToBDD(int val)
           
 void addValue(BDD single, java.lang.Integer val)
           
 void addValue(BDD single, java.util.Vector<java.lang.Integer> val)
           
 BDD belowIntToBDD(int val)
           
static ValueIntStmt DivOp(ValueIntStmt first, ValueIntStmt other)
           
static ValueIntStmt DivOpWithCons(java.lang.Integer cons, ValueIntStmt other)
           
static ValueIntStmt DivOpWithCons(ValueIntStmt first, java.lang.Integer cons)
           
 java.lang.String elemToString()
           
static ValueIntStmt EQOp(ValueIntStmt first, ValueIntStmt other)
           
static ValueIntStmt EQOpWithCons(java.lang.Integer cons, ValueIntStmt other)
           
static ValueIntStmt EQOpWithCons(ValueIntStmt first, java.lang.Integer cons)
           
static ValueIntStmt GEOp(ValueIntStmt first, ValueIntStmt other)
           
static ValueIntStmt GEOpWithCons(java.lang.Integer cons, ValueIntStmt other)
           
static ValueIntStmt GEOpWithCons(ValueIntStmt first, java.lang.Integer cons)
           
 java.util.Set<BDD> getAllBDDAssigned()
           
 int[] getAllIntValues()
           
 java.lang.Integer[] getAllValues()
           
 BDDVarSet getBDDVarSet()
           
 java.util.Vector<java.lang.Integer> getValue(BDD single)
           
static ValueIntStmt GTOp(ValueIntStmt first, ValueIntStmt other)
           
static ValueIntStmt GTOpWithCons(java.lang.Integer cons, ValueIntStmt other)
           
static ValueIntStmt GTOpWithCons(ValueIntStmt first, java.lang.Integer cons)
           
 BDD intToBDD(int val)
           
 boolean isValueIntStmt()
           
static ValueIntStmt LEOp(ValueIntStmt first, ValueIntStmt other)
           
static ValueIntStmt LEOpWithCons(java.lang.Integer cons, ValueIntStmt other)
           
static ValueIntStmt LEOpWithCons(ValueIntStmt first, java.lang.Integer cons)
           
static ValueIntStmt LTOp(ValueIntStmt first, ValueIntStmt other)
           
static ValueIntStmt LTOpWithCons(java.lang.Integer cons, ValueIntStmt other)
           
static ValueIntStmt LTOpWithCons(ValueIntStmt first, java.lang.Integer cons)
           
static ValueIntStmt MinusOp(ValueIntStmt first, ValueIntStmt other)
           
static ValueIntStmt MinusOpWithCons(java.lang.Integer cons, ValueIntStmt other)
           
static ValueIntStmt MinusOpWithCons(ValueIntStmt first, java.lang.Integer cons)
           
static ValueIntStmt ModOp(ValueIntStmt first, ValueIntStmt other)
           
static ValueIntStmt ModOpWithCons(java.lang.Integer cons, ValueIntStmt other)
           
static ValueIntStmt ModOpWithCons(ValueIntStmt first, java.lang.Integer cons)
           
static ValueIntStmt NEQOp(ValueIntStmt first, ValueIntStmt other)
           
static ValueIntStmt NEQOpWithCons(java.lang.Integer cons, ValueIntStmt other)
           
static ValueIntStmt NEQOpWithCons(ValueIntStmt first, java.lang.Integer cons)
           
static ValueIntStmt PlusOp(ValueIntStmt first, ValueIntStmt other)
           
static ValueIntStmt PlusOpWithCons(java.lang.Integer cons, ValueIntStmt other)
           
static ValueIntStmt PlusOpWithCons(ValueIntStmt first, java.lang.Integer cons)
           
static ValueIntStmt TimesOp(ValueIntStmt first, ValueIntStmt other)
           
static ValueIntStmt TimesOpWithCons(java.lang.Integer cons, ValueIntStmt other)
           
static ValueIntStmt TimesOpWithCons(ValueIntStmt first, java.lang.Integer cons)
           
 BDD toBDD()
           
 ValueIntStmt toPrimeValueIntStmt()
           
 ValueBDDStmt toValueBDDStmt()
           
 ValueConsStmt toValueConsStmt()
           
 ValueDomStmt toValueDomStmt()
           
 ValueIntStmt toValueIntStmt()
           
 
Methods inherited from class edu.wis.jtlv.env.core.smv.eval.ValueStmt
getContext, isValueBDDStmt, isValueConsStmt, isValueDomStmt, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueIntStmt

public ValueIntStmt(SMVModule a_context,
                    BDDVarSet a_var_set)
             throws SMVParseException
Throws:
SMVParseException
Method Detail

toValueBDDStmt

public ValueBDDStmt toValueBDDStmt()
                            throws SMVParseException
Specified by:
toValueBDDStmt in class ValueStmt
Throws:
SMVParseException

toValueIntStmt

public ValueIntStmt toValueIntStmt()
                            throws SMVParseException
Specified by:
toValueIntStmt in class ValueStmt
Throws:
SMVParseException

toPrimeValueIntStmt

public ValueIntStmt toPrimeValueIntStmt()
                                 throws SMVParseException
Throws:
SMVParseException

toValueDomStmt

public ValueDomStmt toValueDomStmt()
                            throws SMVParseException
Specified by:
toValueDomStmt in class ValueStmt
Throws:
SMVParseException

toValueConsStmt

public ValueConsStmt toValueConsStmt()
                              throws SMVParseException
Specified by:
toValueConsStmt in class ValueStmt
Throws:
SMVParseException

toBDD

public BDD toBDD()
          throws SMVParseException
Specified by:
toBDD in class ValueStmt
Throws:
SMVParseException

isValueIntStmt

public boolean isValueIntStmt()
Overrides:
isValueIntStmt in class ValueStmt

elemToString

public java.lang.String elemToString()
Specified by:
elemToString in class AbstractElement

addValue

public void addValue(BDD single,
                     java.lang.Integer val)
              throws SMVParseException
Throws:
SMVParseException

addValue

public void addValue(BDD single,
                     java.util.Vector<java.lang.Integer> val)
              throws SMVParseException
Throws:
SMVParseException

getValue

public java.util.Vector<java.lang.Integer> getValue(BDD single)
                                             throws SMVParseException
Throws:
SMVParseException

getAllValues

public java.lang.Integer[] getAllValues()
                                 throws SMVParseException
Throws:
SMVParseException

getAllIntValues

public int[] getAllIntValues()
                      throws SMVParseException
Throws:
SMVParseException

getAllBDDAssigned

public java.util.Set<BDD> getAllBDDAssigned()

getBDDVarSet

public BDDVarSet getBDDVarSet()

aboveIntToBDD

public BDD aboveIntToBDD(int val)

belowIntToBDD

public BDD belowIntToBDD(int val)

intToBDD

public BDD intToBDD(int val)

PlusOp

public static ValueIntStmt PlusOp(ValueIntStmt first,
                                  ValueIntStmt other)
                           throws SMVParseException
Throws:
SMVParseException

PlusOpWithCons

public static ValueIntStmt PlusOpWithCons(ValueIntStmt first,
                                          java.lang.Integer cons)
                                   throws SMVParseException
Throws:
SMVParseException

PlusOpWithCons

public static ValueIntStmt PlusOpWithCons(java.lang.Integer cons,
                                          ValueIntStmt other)
                                   throws SMVParseException
Throws:
SMVParseException

MinusOp

public static ValueIntStmt MinusOp(ValueIntStmt first,
                                   ValueIntStmt other)
                            throws SMVParseException
Throws:
SMVParseException

MinusOpWithCons

public static ValueIntStmt MinusOpWithCons(ValueIntStmt first,
                                           java.lang.Integer cons)
                                    throws SMVParseException
Throws:
SMVParseException

MinusOpWithCons

public static ValueIntStmt MinusOpWithCons(java.lang.Integer cons,
                                           ValueIntStmt other)
                                    throws SMVParseException
Throws:
SMVParseException

TimesOp

public static ValueIntStmt TimesOp(ValueIntStmt first,
                                   ValueIntStmt other)
                            throws SMVParseException
Throws:
SMVParseException

TimesOpWithCons

public static ValueIntStmt TimesOpWithCons(ValueIntStmt first,
                                           java.lang.Integer cons)
                                    throws SMVParseException
Throws:
SMVParseException

TimesOpWithCons

public static ValueIntStmt TimesOpWithCons(java.lang.Integer cons,
                                           ValueIntStmt other)
                                    throws SMVParseException
Throws:
SMVParseException

DivOp

public static ValueIntStmt DivOp(ValueIntStmt first,
                                 ValueIntStmt other)
                          throws SMVParseException
Throws:
SMVParseException

DivOpWithCons

public static ValueIntStmt DivOpWithCons(ValueIntStmt first,
                                         java.lang.Integer cons)
                                  throws SMVParseException
Throws:
SMVParseException

DivOpWithCons

public static ValueIntStmt DivOpWithCons(java.lang.Integer cons,
                                         ValueIntStmt other)
                                  throws SMVParseException
Throws:
SMVParseException

ModOp

public static ValueIntStmt ModOp(ValueIntStmt first,
                                 ValueIntStmt other)
                          throws SMVParseException
Throws:
SMVParseException

ModOpWithCons

public static ValueIntStmt ModOpWithCons(ValueIntStmt first,
                                         java.lang.Integer cons)
                                  throws SMVParseException
Throws:
SMVParseException

ModOpWithCons

public static ValueIntStmt ModOpWithCons(java.lang.Integer cons,
                                         ValueIntStmt other)
                                  throws SMVParseException
Throws:
SMVParseException

EQOp

public static ValueIntStmt EQOp(ValueIntStmt first,
                                ValueIntStmt other)
                         throws SMVParseException
Throws:
SMVParseException

EQOpWithCons

public static ValueIntStmt EQOpWithCons(ValueIntStmt first,
                                        java.lang.Integer cons)
                                 throws SMVParseException
Throws:
SMVParseException

EQOpWithCons

public static ValueIntStmt EQOpWithCons(java.lang.Integer cons,
                                        ValueIntStmt other)
                                 throws SMVParseException
Throws:
SMVParseException

NEQOp

public static ValueIntStmt NEQOp(ValueIntStmt first,
                                 ValueIntStmt other)
                          throws SMVParseException
Throws:
SMVParseException

NEQOpWithCons

public static ValueIntStmt NEQOpWithCons(ValueIntStmt first,
                                         java.lang.Integer cons)
                                  throws SMVParseException
Throws:
SMVParseException

NEQOpWithCons

public static ValueIntStmt NEQOpWithCons(java.lang.Integer cons,
                                         ValueIntStmt other)
                                  throws SMVParseException
Throws:
SMVParseException

LEOp

public static ValueIntStmt LEOp(ValueIntStmt first,
                                ValueIntStmt other)
                         throws SMVParseException
Throws:
SMVParseException

LEOpWithCons

public static ValueIntStmt LEOpWithCons(ValueIntStmt first,
                                        java.lang.Integer cons)
                                 throws SMVParseException
Throws:
SMVParseException

LEOpWithCons

public static ValueIntStmt LEOpWithCons(java.lang.Integer cons,
                                        ValueIntStmt other)
                                 throws SMVParseException
Throws:
SMVParseException

LTOp

public static ValueIntStmt LTOp(ValueIntStmt first,
                                ValueIntStmt other)
                         throws SMVParseException
Throws:
SMVParseException

LTOpWithCons

public static ValueIntStmt LTOpWithCons(ValueIntStmt first,
                                        java.lang.Integer cons)
                                 throws SMVParseException
Throws:
SMVParseException

LTOpWithCons

public static ValueIntStmt LTOpWithCons(java.lang.Integer cons,
                                        ValueIntStmt other)
                                 throws SMVParseException
Throws:
SMVParseException

GEOp

public static ValueIntStmt GEOp(ValueIntStmt first,
                                ValueIntStmt other)
                         throws SMVParseException
Throws:
SMVParseException

GEOpWithCons

public static ValueIntStmt GEOpWithCons(ValueIntStmt first,
                                        java.lang.Integer cons)
                                 throws SMVParseException
Throws:
SMVParseException

GEOpWithCons

public static ValueIntStmt GEOpWithCons(java.lang.Integer cons,
                                        ValueIntStmt other)
                                 throws SMVParseException
Throws:
SMVParseException

GTOp

public static ValueIntStmt GTOp(ValueIntStmt first,
                                ValueIntStmt other)
                         throws SMVParseException
Throws:
SMVParseException

GTOpWithCons

public static ValueIntStmt GTOpWithCons(ValueIntStmt first,
                                        java.lang.Integer cons)
                                 throws SMVParseException
Throws:
SMVParseException

GTOpWithCons

public static ValueIntStmt GTOpWithCons(java.lang.Integer cons,
                                        ValueIntStmt other)
                                 throws SMVParseException
Throws:
SMVParseException