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 smt
    Definition Classes
    copris
  • Encoder
  • SMT
  • SmtSolver
  • SmtSolverLogger
  • Solver
  • Translator
  • Z3
  • dsl
c

jp.kobe_u.copris.smt

Translator

class Translator extends sugar.Translator

Class for translating CSP to SMT

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

Instance Constructors

  1. new Translator()

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. def createSugarExpr(x: Expression, xs: Expression*): Expression
    Definition Classes
    Translator
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  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 toString(): String
    Definition Classes
    AnyRef → Any
  17. def toSugar(csp: CSP, outputObjective: Boolean = true): ArrayList[Expression]
    Definition Classes
    Translator
  18. def toSugar(c: Constraint): Expression
    Definition Classes
    Translator
  19. def toSugar(x: Term): Expression
    Definition Classes
    Translator
  20. def toSugarAny(a: Any): Expression
    Definition Classes
    Translator
  21. def toSugarBool(csp: CSP, p: Bool): Expression
    Definition Classes
    Translator
  22. def toSugarDelta(csp: CSP): ArrayList[Expression]
    Definition Classes
    Translator
  23. def toSugarInt(csp: CSP, x: Var): Expression
    Definition Classes
    Translator
  24. def toSugarName(p: Bool): String
    Definition Classes
    Translator
  25. def toSugarName(x: Var): String
    Definition Classes
    Translator
  26. def toSugarName(name: String, is: String*): String
    Definition Classes
    Translator
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  29. 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 sugar.Translator

Inherited from AnyRef

Inherited from Any

Ungrouped