jp.kobe_u.copris.sugar

dsl

object dsl extends CoprisTrait

Object for Sugar DSL

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 csp : CSP

    CSP to be used

    CSP to be used

    Definition Classes
    dslCoprisTrait
  13. def dump (fileName: String): Unit

  14. def eq (arg0: AnyRef): Boolean

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

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

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

    Finds the first solution

    Finds the first solution

    Definition Classes
    CoprisTraitSolverTrait
  18. def findNext : Boolean

    Finds the next solution

    Finds the next solution

    Definition Classes
    CoprisTraitSolverTrait
  19. def findOpt : Boolean

    Finds the optimum solution

    Finds the optimum solution

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

    Attributes
    final
    Definition Classes
    AnyRef
  21. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  22. def init : Unit

    Initializes the CSP and solver

    Initializes the CSP and solver

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

    Adds an integer variable

    Adds an integer variable

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

    Adds integer variables

    Adds integer variables

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

    Adds integer variables

    Adds integer variables

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

    Adds integer variables

    Adds integer variables

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

    Adds integer variables

    Adds integer variables

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

    Adds an integer variable

    Adds an integer variable

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

    Adds an integer variable

    Adds an integer variable

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

    Adds an integer variable

    Adds an integer variable

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

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

    Specifies objective variable to be maximized

    Specifies objective variable to be maximized

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

    Specifies objective variable to be minimized

    Specifies objective variable to be minimized

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

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

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

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

    Sets the options of the solver

    Sets the options of the solver

    Definition Classes
    CoprisTrait
  38. def show : Unit

    Shows the CSP

    Shows the CSP

    Definition Classes
    CoprisTrait
  39. def solution : Solution

    Shows the current solution

    Shows the current solution

    Definition Classes
    CoprisTraitSolverTrait
  40. def solver : Solver

    Solver to be used

    Solver to be used

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

    Starts the timer (experimental)

    Starts the timer (experimental)

    Definition Classes
    CoprisTrait
  42. 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
  43. def stopTimer : Unit

    Stops the timer (experimental)

    Stops the timer (experimental)

    Definition Classes
    CoprisTrait
  44. val sugarVar : DynamicVariable[Sugar]

  45. 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
  46. def synchronized [T0] (arg0: ⇒ T0): T0

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

    Definition Classes
    AnyRef → Any
  48. def use (satSolver: SatSolver): Unit

  49. def use (newSolver: AbstractSolver): Unit

    Changes the solver to be used

    Changes the solver to be used

    Definition Classes
    dslCoprisTrait
  50. def using (sugar: Sugar = new Sugar())(block: ⇒ Unit): Unit

  51. 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
  52. 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
  53. 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
  54. 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
  55. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from CoprisTrait

Inherited from SolverTrait

Inherited from CSPTrait

Inherited from AnyRef

Inherited from Any