object Constraint
Helper functions to build constraints over paths
- Alphabetic
- By Inheritance
- Constraint
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
BuildConstraints(cfg: CFG, path: Vector[Int]): List[Expression]
Shorthand to BuildConstraintsAux
Shorthand to BuildConstraintsAux
- cfg
the graph to work on
- path
the path to rename recursively
-
def
BuildConstraintsAux(cfg: CFG, path: Vector[Int], idx: Int, variableCounters: Map[Variable, Int]): List[Expression]
Recursive function to rename variables on a path execution, (Single static assignment one a path)
Recursive function to rename variables on a path execution, (Single static assignment one a path)
- cfg
the graph to work on
- path
the path to rename recursively
- idx
the current position on the path
- variableCounters
current state of variables (number of times encoutered)
- returns
list of binary expression (to consider as a conjunction)
the program X := 0; X:= 1-X becomes X_0 := 0; X_1:= 1-X_0
Example: -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
identifyVariables(exp: Expression): Vector[Variable]
Identifies which variables are present in a expression
Identifies which variables are present in a expression
- exp
the expression to look into
-
def
identifyVariables(exp: Expression): Vector[Variable]
Identifies which variables are present in a expression
Identifies which variables are present in a expression
- exp
the expression to look into
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
replaceVariables(cmd: Expression, variables: Map[Variable, Int]): Expression
Replaces all variables with integer suffixed variables
Replaces all variables with integer suffixed variables
- cmd
binary expression
- variables
variable to counter
-
def
replaceVariables(cmd: Expression, variables: Map[Variable, Int]): Expression
Replaces all variables with integer suffixed variables
Replaces all variables with integer suffixed variables
- cmd
arithmetic expression
- variables
variable to counter
-
def
replaceVariables(cmd: Command, variables: Map[Variable, Int]): Command
Replaces all variables with integer suffixed variables
Replaces all variables with integer suffixed variables
- cmd
command
- variables
variable to counter
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )