jp.kobe_u.copris

dsl

object dsl extends CoprisTrait

Object for Copris DSL which provides methods for CSP and CSP solver.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. dsl
  2. CoprisTrait
  3. SolverTrait
  4. CSPTrait
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def add (cs: Constraint*): Unit

    Adds a constraint

    Adds a constraint

    Definition Classes
    CoprisTraitCSPTrait
  7. def add (cs: Iterable[Constraint]): Unit

    Adds constraints

    Adds constraints

    Definition Classes
    CSPTrait
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def bool (p: Bool): Bool

    Adds a Boolean variable

    Adds a Boolean variable

    Definition Classes
    CoprisTraitCSPTrait
  10. def bool (ps: Iterable[Bool]): Iterable[Bool]

    Adds Boolean variables

    Adds Boolean variables

    Definition Classes
    CSPTrait
  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def copris : Copris

    Returns Copris object

  13. val coprisVar : DynamicVariable[Copris]

    Dynamic variable of Copris

  14. def csp : CSP

    Returns CSP

    Returns CSP

    Definition Classes
    dslCoprisTrait
  15. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  16. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def find : Boolean

    Finds the first solution

    Finds the first solution

    Definition Classes
    CoprisTraitSolverTrait
  19. def findNext : Boolean

    Finds the next solution

    Finds the next solution

    Definition Classes
    CoprisTraitSolverTrait
  20. def findOpt : Boolean

    Finds the optimum solution

    Finds the optimum solution

    Definition Classes
    CoprisTraitSolverTrait
  21. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  22. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  23. def init : Unit

    Initializes the CSP and solver

    Initializes the CSP and solver

    Definition Classes
    CoprisTraitSolverTrait
  24. def int (x: Var, d: Domain): Var

    Adds an integer variable

    Adds an integer variable

    Definition Classes
    CoprisTraitCSPTrait
  25. def int (xs: Iterable[Term], value: Int): Iterable[Term]

    Adds integer variables

    Adds integer variables

    Definition Classes
    CSPTrait
  26. def int (xs: Iterable[Term], lo: Int, hi: Int): Iterable[Term]

    Adds integer variables

    Adds integer variables

    Definition Classes
    CSPTrait
  27. def int (xs: Iterable[Term], d: Set[Int]): Iterable[Term]

    Adds integer variables

    Adds integer variables

    Definition Classes
    CSPTrait
  28. def int (xs: Iterable[Term], d: Domain): Iterable[Term]

    Adds integer variables

    Adds integer variables

    Definition Classes
    CSPTrait
  29. def int (x: Var, value: Int): Var

    Adds an integer variable

    Adds an integer variable

    Definition Classes
    CSPTrait
  30. def int (x: Var, lo: Int, hi: Int): Var

    Adds an integer variable

    Adds an integer variable

    Definition Classes
    CSPTrait
  31. def int (x: Var, d: Set[Int]): Var

    Adds an integer variable

    Adds an integer variable

    Definition Classes
    CSPTrait
  32. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  33. def maximize (x: Var): Var

    Specifies objective variable to be maximized

    Specifies objective variable to be maximized

    Definition Classes
    CoprisTraitCSPTrait
  34. def minimize (x: Var): Var

    Specifies objective variable to be minimized

    Specifies objective variable to be minimized

    Definition Classes
    CoprisTraitCSPTrait
  35. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  36. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  37. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  38. def options (opts: Map[String, String]): Unit

    Sets the options of the solver

    Sets the options of the solver

    Definition Classes
    CoprisTrait
  39. def satisfiedBy (solution: Solution): Boolean

    Checks whether the CSP is satisfied by the solution

    Checks whether the CSP is satisfied by the solution

    Definition Classes
    CoprisTraitCSPTrait
  40. def show : Unit

    Shows the CSP

    Shows the CSP

    Definition Classes
    CoprisTrait
  41. def solution : Solution

    Shows the current solution

    Shows the current solution

    Definition Classes
    CoprisTraitSolverTrait
  42. def solver : AbstractSolver

    Returns CSP solver

    Returns CSP solver

    Definition Classes
    dslCoprisTrait
  43. def startTimer (timeout: Long): Unit

    Starts the timer (experimental)

    Starts the timer (experimental)

    Definition Classes
    CoprisTrait
  44. def stats : Seq[Map[String, Map[String, Number]]]

    Returns the status of the solver (experimental)

    Returns the status of the solver (experimental)

    Definition Classes
    CoprisTrait
  45. def stopTimer : Unit

    Stops the timer (experimental)

    Stops the timer (experimental)

    Definition Classes
    CoprisTrait
  46. implicit def symbol2var (s: Symbol): Var

    Implicit conversion from scala Symbol to Var.

    Implicit conversion from scala Symbol to Var.

    Attributes
    implicit
    Definition Classes
    CoprisTrait
  47. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  48. def toString (): String

    Definition Classes
    AnyRef → Any
  49. def use (newSolver: AbstractSolver): Unit

    Changes the solver to be used

    Changes the solver to be used

    Definition Classes
    dslCoprisTrait
  50. def using (copris: Copris = new Copris())(block: ⇒ Unit): Unit

    Executes the block under the specified Copris

  51. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  52. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  53. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def value (p: Bool): Boolean

    Returns the Boolean variable value of the current solution

    Returns the Boolean variable value of the current solution

    Definition Classes
    SolverTrait
    Annotations
    @deprecated
    Deprecated

    use apply method of Solution instead

  2. def value (x: Var): Int

    Returns the integer variable value of the current solution

    Returns the integer variable value of the current solution

    Definition Classes
    SolverTrait
    Annotations
    @deprecated
    Deprecated

    use apply method of Solution instead

  3. def values (p: Bool, ps: Bool*): Seq[Boolean]

    Returns the Boolean variable values of the current solution

    Returns the Boolean variable values of the current solution

    Definition Classes
    SolverTrait
    Annotations
    @deprecated
    Deprecated

    use apply method of Solution instead

  4. def values (x: Var, xs: Var*): Seq[Int]

    Returns the integer variable values of the current solution

    Returns the integer variable values of the current solution

    Definition Classes
    SolverTrait
    Annotations
    @deprecated
    Deprecated

    use apply method of Solution instead

Inherited from CoprisTrait

Inherited from SolverTrait

Inherited from CSPTrait

Inherited from AnyRef

Inherited from Any