jp.kobe_u.copris

AbstractSolver

class AbstractSolver extends SolverTrait

Abstract class for CSP solvers

Attributes
abstract
Linear Supertypes
SolverTrait, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. AbstractSolver
  2. SolverTrait
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractSolver (csp: CSP)

Abstract Value Members

  1. def findBody : Boolean

    Body of the find method

    Body of the find method

    Attributes
    abstract
  2. def findNextBody : Boolean

    Body of the findNext method

    Body of the findNext method

    Attributes
    abstract
  3. def findOptBody : Boolean

    Body of the findOpt method

    Body of the findOpt method

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

    Body of the findOptBound method

    Body of the findOptBound method

    Attributes
    abstract
  5. def init : Unit

    Initializes the solver

    Initializes the solver

    Attributes
    abstract
    Definition Classes
    SolverTrait
  6. def solution : Solution

    Returns the current solution

    Returns the current solution

    Attributes
    abstract
    Definition Classes
    SolverTrait

Concrete 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 addSolverStat (name: String, key: String, value: Number): Unit

    Adds the current status of name (experimental)

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

    Sets the current status of name (experimental)

  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def checkTimeout : Unit

    Checks the timeout (experimental)

  10. def clone (): AnyRef

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

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

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

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

    Finds the first solution

    Finds the first solution

    Definition Classes
    AbstractSolverSolverTrait
  15. def findNext : Boolean

    Finds the next solution

    Finds the next solution

    Definition Classes
    AbstractSolverSolverTrait
  16. def findOpt : Boolean

    Finds the optimum solution

    Finds the optimum solution

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

    Finds a solution within the given bounds

  18. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  19. def getSolverStat (name: String): Map[String, Number]

    Gets the last status of ~name~ (experimental)

  20. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  21. def isInstanceOf [T0] : Boolean

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

    Measures the time spent for executing block (experimental)

  23. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  26. var options : Map[String, String]

    Options of the solver

  27. def raiseTimeout : Nothing

    Raises the interrupted exception for timeout (experimental)

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

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

  29. def shiftSolverStats : Unit

    Shifts the status (experimental)

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

    Status of the solver (experimental)

  31. def startTimer (t: Long): Unit

    Starts the timer (experimental)

  32. def stopTimer : Unit

    Stops the timer (experimental)

  33. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  34. var timeout : Long

    Timeout value in miliseconds (experimental)

  35. var timer : Timer

    Timer (experimental)

  36. def toString (): String

    Definition Classes
    AnyRef → Any
  37. 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
  38. 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
  39. 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
  40. 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
  41. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SolverTrait

Inherited from AnyRef

Inherited from Any