jp.kobe_u.copris.jsr331

Solver

class Solver extends AbstractSolver

Class for JSR331 solver

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Solver
  2. AbstractSolver
  3. SolverTrait
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Solver(csp: CSP)

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 addSolverInfo(key: String, value: String): Unit

    Adds the info

    Adds the info

    Definition Classes
    AbstractSolver
  7. def addSolverStat(name: String, key: String, value: Number): Unit

    Adds the current status of name (experimental)

    Adds the current status of name (experimental)

    Definition Classes
    AbstractSolver
  8. def addSolverStat(name: String, stat: Map[String, Number]): Unit

    Sets the current status of name (experimental)

    Sets the current status of name (experimental)

    Definition Classes
    AbstractSolver
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def cancel: Unit

    Definition Classes
    SolverSolverTrait
  11. def checkTimeout: Unit

    Checks the timeout (experimental)

    Checks the timeout (experimental)

    Definition Classes
    AbstractSolver
  12. def clone(): AnyRef

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

    Definition Classes
    SolverSolverTrait
  14. def dump(fileName: String, format: String): Unit

    Definition Classes
    SolverAbstractSolver
  15. def dumpCSP(fileName: String): Unit

  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  18. def error(msg: String): RuntimeException

  19. def finalize(): Unit

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

    Finds the first solution

    Finds the first solution

    Definition Classes
    AbstractSolverSolverTrait
  21. def findBody: Boolean

    Body of the find method

    Body of the find method

    Definition Classes
    SolverAbstractSolver
  22. def findNext: Boolean

    Finds the next solution

    Finds the next solution

    Definition Classes
    AbstractSolverSolverTrait
  23. def findNextBody: Boolean

    Body of the findNext method

    Body of the findNext method

    Definition Classes
    SolverAbstractSolver
  24. def findOpt: Boolean

    Finds the optimum solution

    Finds the optimum solution

    Definition Classes
    AbstractSolverSolverTrait
  25. def findOptBody: Boolean

    Body of the findOpt method

    Body of the findOpt method

    Definition Classes
    SolverAbstractSolver
  26. def findOptBound(lb: Int, ub: Int): Boolean

    Finds a solution within the given bounds

    Finds a solution within the given bounds

    Definition Classes
    AbstractSolver
  27. def findOptBoundBody(lb: Int, ub: Int): Boolean

    Body of the findOptBound method

    Body of the findOptBound method

    Definition Classes
    SolverAbstractSolver
  28. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  29. def getSolverStat(name: String): Map[String, Number]

    Gets the last status of ~name~ (experimental)

    Gets the last status of ~name~ (experimental)

    Definition Classes
    AbstractSolver
  30. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  31. def init: Unit

    Initializes the solver

    Initializes the solver

    Definition Classes
    SolverAbstractSolverSolverTrait
  32. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  33. def measureTime[T](name: String, key: String)(block: ⇒ T): T

    Measures the time spent for executing block (experimental)

    Measures the time spent for executing block (experimental)

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

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

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

    Definition Classes
    AnyRef
  37. var options: Map[String, String]

    Options of the solver

    Options of the solver

    Definition Classes
    AbstractSolver
  38. var problem: Problem

  39. def raiseTimeout: Nothing

    Raises the interrupted exception for timeout (experimental)

    Raises the interrupted exception for timeout (experimental)

    Definition Classes
    AbstractSolver
  40. def setTimeoutTask(task: ⇒ Unit): Unit

    Specifies the clean-up tasks of the timeout (experimental)

    Specifies the clean-up tasks of the timeout (experimental)

    Definition Classes
    AbstractSolver
  41. def shiftSolverStats: Unit

    Shifts the status (experimental)

    Shifts the status (experimental)

    Definition Classes
    AbstractSolver
  42. var solution: Solution

    Returns the current solution

    Returns the current solution

    Definition Classes
    SolverSolverTrait
  43. var solutionIterator: SolutionIterator

  44. def solutions: Iterator[Solution]

    Returns the iterator of all solutions

    Returns the iterator of all solutions

    Definition Classes
    AbstractSolverSolverTrait
  45. var solver: javax.constraints.Solver

  46. var solverInfo: Map[String, String]

    Info of the solver (experimental)

    Info of the solver (experimental)

    Definition Classes
    AbstractSolver
  47. var solverStats: Seq[Map[String, Map[String, Number]]]

    Status of the solver (experimental)

    Status of the solver (experimental)

    Definition Classes
    AbstractSolver
  48. def startTimer(t: Long): Unit

    Starts the timer (experimental)

    Starts the timer (experimental)

    Definition Classes
    AbstractSolver
  49. def stopTimer: Unit

    Stops the timer (experimental)

    Stops the timer (experimental)

    Definition Classes
    AbstractSolver
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. var timeout: Long

    Timeout value in miliseconds (experimental)

    Timeout value in miliseconds (experimental)

    Definition Classes
    AbstractSolver
  52. var timer: Timer

    Timer (experimental)

    Timer (experimental)

    Definition Classes
    AbstractSolver
  53. def toString(): String

    Definition Classes
    AnyRef → Any
  54. var translated: Boolean

  55. var translator: Translator

  56. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. 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 AbstractSolver

Inherited from SolverTrait

Inherited from AnyRef

Inherited from Any

Ungrouped