Packages

  • package root
    Definition Classes
    root
  • package jp
    Definition Classes
    root
  • package kobe_u
    Definition Classes
    jp
  • package copris

    Provides classes for Constraint Programming in Scala.

    Provides classes for Constraint Programming in Scala.

    OVERVIEW

    The following is a sample program in Copris DSL (Domain Specific Language).

    object FirstStep {
      import jp.kobe_u.copris._
      import jp.kobe_u.copris.dsl._
    
      def main(args: Array[String]) = {
        val x = int('x, 0, 7)
        val y = int('y, 0, 7)
        add(x + y === 7)
        add(x * 2 + y * 4 === 20)
        if (find) {
          println(solution)
        }
      }
    }
    Definition Classes
    kobe_u
  • package jsr331
    Definition Classes
    copris
  • JSR331
  • Solver
  • Translator
  • dsl
c

jp.kobe_u.copris.jsr331

Translator

class Translator extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Translator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Translator(csp: CSP, problem: Problem)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def error(x: Expr): RuntimeException
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toJsr331(c: Constraint): javax.constraints.Constraint
  17. def toJsr331(x: Term): javax.constraints.Var
  18. def toJsr331Name(p: Bool): String
  19. def toJsr331Name(x: Var): String
  20. def toJsr331Name(name: String, is: String*): String
  21. def toJsr331Op(cmp: String): String
  22. def toJsr331Var(x: Var): javax.constraints.Var
  23. def toJsr331VarBool(p: Bool): VarBool
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def translate: Unit
  26. def translate(c: Constraint): Unit
  27. def translate(p: Bool): Unit
  28. def translate(v: Var): Unit
  29. def translateDelta: Unit
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped