jp.kobe_u.copris

AbstractSolver

abstract class AbstractSolver extends SolverTrait

Abstract class for CSP solvers

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

Instance Constructors

  1. new AbstractSolver(csp: CSP)

Abstract Value Members

  1. abstract def cancel: Unit

    Definition Classes
    SolverTrait
  2. abstract def commit: Unit

    Definition Classes
    SolverTrait
  3. abstract def dump(fileName: String, format: String): Unit

  4. abstract def findBody: Boolean

    Body of the find method

  5. abstract def findNextBody: Boolean

    Body of the findNext method

  6. abstract def findOptBody: Boolean

    Body of the findOpt method

  7. abstract def findOptBoundBody(lb: Int, ub: Int): Boolean

    Body of the findOptBound method

  8. abstract def solution: Solution

    Returns the current solution

    Returns the current solution

    Definition Classes
    SolverTrait

Concrete 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

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

    Adds the current status of name (experimental)

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

    Sets the current status of name (experimental)

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def checkTimeout: Unit

    Checks the timeout (experimental)

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

    Finds the first solution

    Finds the first solution

    Definition Classes
    AbstractSolverSolverTrait
  16. def findNext: Boolean

    Finds the next solution

    Finds the next solution

    Definition Classes
    AbstractSolverSolverTrait
  17. def findOpt: Boolean

    Finds the optimum solution

    Finds the optimum solution

    Definition Classes
    AbstractSolverSolverTrait
  18. def findOptBound(lb: Int, ub: Int): Boolean

    Finds a solution within the given bounds

  19. final def getClass(): Class[_]

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

    Gets the last status of ~name~ (experimental)

  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. def init: Unit

    Initializes the solver

    Initializes the solver

    Definition Classes
    AbstractSolverSolverTrait
  23. final def isInstanceOf[T0]: Boolean

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

    Measures the time spent for executing block (experimental)

  25. final def ne(arg0: AnyRef): Boolean

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

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

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

    Options of the solver

  29. def raiseTimeout: Nothing

    Raises the interrupted exception for timeout (experimental)

  30. def setTimeoutTask(task: ⇒ Unit): Unit

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

  31. def shiftSolverStats: Unit

    Shifts the status (experimental)

  32. def solutions: Iterator[Solution]

    Returns the iterator of all solutions

    Returns the iterator of all solutions

    Definition Classes
    AbstractSolverSolverTrait
  33. var solverInfo: Map[String, String]

    Info of the solver (experimental)

  34. var solverStats: Seq[Map[String, Map[String, Number]]]

    Status of the solver (experimental)

  35. def startTimer(t: Long): Unit

    Starts the timer (experimental)

  36. def stopTimer: Unit

    Stops the timer (experimental)

  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. var timeout: Long

    Timeout value in miliseconds (experimental)

  39. var timer: Timer

    Timer (experimental)

  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped