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. dsl
  2. CoprisTrait
  3. SolverTrait
  4. CSPTrait
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

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

    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. final def asInstanceOf[T0]: T0

    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 boolInt(x: Var): Var

    Adds a 0-1 integer variable

    Adds a 0-1 integer variable

    Definition Classes
    CoprisTraitCSPTrait
  12. def boolInt(xs: Iterable[Term]): Iterable[Term]

    Adds 0-1 integer variables

    Adds 0-1 integer variables

    Definition Classes
    CSPTrait
  13. def cancel: Unit

    Definition Classes
    CoprisTraitSolverTrait
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def commit: Unit

    Definition Classes
    CoprisTraitSolverTrait
  16. def copris: CoprisTrait

    Returns Copris object

  17. val coprisVar: DynamicVariable[CoprisTrait]

    Dynamic variable of Copris

  18. def csp: CSP

    Returns CSP

    Returns CSP

    Definition Classes
    dslCoprisTrait
  19. def dump(fileName: String, format: String): Unit

    Definition Classes
    CoprisTrait
  20. def dump(fileName: String): Unit

    Definition Classes
    CoprisTrait
  21. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def find: Boolean

    Finds the first solution

    Finds the first solution

    Definition Classes
    CoprisTraitSolverTrait
  25. def findNext: Boolean

    Finds the next solution

    Finds the next solution

    Definition Classes
    CoprisTraitSolverTrait
  26. def findOpt: Boolean

    Finds the optimum solution

    Finds the optimum solution

    Definition Classes
    CoprisTraitSolverTrait
  27. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. def info: Map[String, String]

    Returns the info of the solver (experimental)

    Returns the info of the solver (experimental)

    Definition Classes
    CoprisTrait
  30. def init: Unit

    Initializes the CSP and solver

    Initializes the CSP and solver

    Definition Classes
    CoprisTraitSolverTrait
  31. def int[A](x: Var, enum: EnumDomain[A]): Var

    Definition Classes
    CoprisTrait
  32. def int(x: Var, d: Domain): Var

    Adds an integer variable

    Adds an integer variable

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

    Adds integer variables

    Adds integer variables

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

    Adds integer variables

    Adds integer variables

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

    Adds integer variables

    Adds integer variables

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

    Adds integer variables

    Adds integer variables

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

    Adds an integer variable

    Adds an integer variable

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

    Adds an integer variable

    Adds an integer variable

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

    Adds an integer variable

    Adds an integer variable

    Definition Classes
    CSPTrait
  40. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  41. def maximize(x: Var): Var

    Specifies objective variable to be maximized

    Specifies objective variable to be maximized

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

    Specifies objective variable to be minimized

    Specifies objective variable to be minimized

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

    Definition Classes
    AnyRef
  44. final def notify(): Unit

    Definition Classes
    AnyRef
  45. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  46. def options: Map[String, String]

    Gets the options of the solver

    Gets the options of the solver

    Definition Classes
    CoprisTrait
  47. 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
  48. def setOptions(opts: Map[String, String]): Unit

    Sets the options of the solver

    Sets the options of the solver

    Definition Classes
    CoprisTrait
  49. def show: Unit

    Shows the CSP

    Shows the CSP

    Definition Classes
    CoprisTrait
  50. def solution: Solution

    Returns the current solution

    Returns the current solution

    Definition Classes
    CoprisTraitSolverTrait
  51. def solutions: Iterator[Solution]

    Returns the iterator of all solutions

    Returns the iterator of all solutions

    Definition Classes
    CoprisTraitSolverTrait
  52. def solver: AbstractSolver

    Returns CSP solver

    Returns CSP solver

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

    Starts the timer (experimental)

    Starts the timer (experimental)

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

    Stops the timer (experimental)

    Stops the timer (experimental)

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

    Implicit conversion from scala Symbol to jp.kobe_u.copris.Var.

    Implicit conversion from scala Symbol to jp.kobe_u.copris.Var.

    Definition Classes
    CoprisTrait
  57. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  58. def toString(): String

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

    Changes the solver to be used

    Changes the solver to be used

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

    Executes the block under the specified Copris

  61. final def wait(): Unit

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

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

    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

    (Since version 1.0.1) use apply method of jp.kobe_u.copris.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

    (Since version 1.0.1) use apply method of jp.kobe_u.copris.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

    (Since version 1.0.1) use apply method of jp.kobe_u.copris.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

    (Since version 1.0.1) use apply method of jp.kobe_u.copris.Solution instead

Inherited from CoprisTrait

Inherited from SolverTrait

Inherited from CSPTrait

Inherited from AnyRef

Inherited from Any

Ungrouped