Packages

  • package root
    Definition Classes
    root
  • package IVF

    This project is built over the following components

    This project is built over the following components

    • IVF.Model : contains abstract syntax trees and control flow graphs, enables to execute code
    • IVF.Criterion : defines criterion and coverage, useful to test a given program on predefined states set with a criterion
    • IVF.TestGenerator : enables to generate automatically tests from criteria
    Definition Classes
    root
  • package Model

    Contains models necessary to run tests

    Contains models necessary to run tests

    Definition Classes
    IVF
  • package AST

    Contains abstract syntax tree definitions

    Contains abstract syntax tree definitions

    Definition Classes
    Model
    See also

    IVF.Model.AST

  • package B

    Contains binary expression ASTs and Operators

    Contains binary expression ASTs and Operators

    Definition Classes
    AST
    See also

    IVF.Model.AST.B.Expression

  • package Expression

    Contains binary expressions

    Contains binary expressions

    Definition Classes
    B
  • Binary
  • Comparator
  • Unary
  • Value
c

IVF.Model.AST.B.Expression

Comparator

case class Comparator(op: A.Comparator, a: A.Expression, b: A.Expression) extends Expression with Product with Serializable

Binary comparison expression

op

comparator

a

left arithmetic expression

b

right arithmetic expression

Linear Supertypes
Serializable, Serializable, Product, Equals, Expression, AST, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Comparator
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Expression
  7. AST
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Comparator(op: A.Comparator, a: A.Expression, b: A.Expression)

    op

    comparator

    a

    left arithmetic expression

    b

    right arithmetic expression

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val a: A.Expression
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val b: A.Expression
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def eval(state: State): Boolean

    Evaluates an binary expression given a state

    Evaluates an binary expression given a state

    state

    state

    Definition Classes
    Expression
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def isDef(variable: Variable): Boolean

    Checks if an AST directly defines a given variable

    Checks if an AST directly defines a given variable

    variable

    the variable to check

    Definition Classes
    AST
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def isRef(variable: Variable): Boolean

    Checks if an AST contains a reference to a given variable

    Checks if an AST contains a reference to a given variable

    variable

    the variable to check

    Definition Classes
    AST
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. val op: A.Comparator
  19. def replace(searchVar: Variable, newVar: Variable): Expression

    Replaces a variable to another in this tree

    Replaces a variable to another in this tree

    searchVar

    the variable to search for

    newVar

    the replacement variable

    returns

    a new Expression with applied changes

    Definition Classes
    Expression
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toConstraintVar(model: Model, variables: Map[String, IntVar]): BoolVar

    Transforms this AST in a variable of the solver choco representing this AST

    Transforms this AST in a variable of the solver choco representing this AST

    model

    the choco model

    variables

    a map from variable name to the associated choco integer variable

    Definition Classes
    Expression
  22. def toString(): String

    Returns a string representation of this AST

    Returns a string representation of this AST

    Implemented here for easy update (with match clause)

    Definition Classes
    AST → AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Expression

Inherited from AST

Inherited from AnyRef

Inherited from Any

Ungrouped