Packages

c

edu.cmu.cs.ls.keymaerax.codegen

GenericFormulaTermGenerator

class GenericFormulaTermGenerator extends FormulaTermGenerator

Converts formulas and terms according to prettyPrinter. Uses termContainer to refer to arguments.

Linear Supertypes
FormulaTermGenerator, CodeGenerator, (Expression) ⇒ (String, String), AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenericFormulaTermGenerator
  2. FormulaTermGenerator
  3. CodeGenerator
  4. Function1
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GenericFormulaTermGenerator(prettyPrinter: CodePrettyPrinter, termContainer: (Expression) ⇒ String, defs: Declaration)

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. def andThen[A](g: ((String, String)) ⇒ A): (Expression) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(expr: Expression, stateVars: Set[BaseVariable], inputVars: Set[BaseVariable], modelName: String): (String, String)

    Translate expression expr into code.

    Translate expression expr into code. Symbols in stateVars are treated as mutable states, all others are constant parameters. inputVars is a subset of stateVars whose value is nondeterministically chosen in the original program. The model name modelName is added to the file header comment.

    Definition Classes
    GenericFormulaTermGeneratorCodeGenerator
  6. def apply(expr: Expression, stateVars: Set[BaseVariable], inputVars: Set[BaseVariable]): (String, String)

    Translate expression expr into code.

    Translate expression expr into code. Symbols in stateVars are treated as mutable states, all others are constant parameters. inputVars is a subset of stateVars whose value is nondeterministically chosen in the original program.

    Definition Classes
    CodeGenerator
  7. def apply(expr: Expression, stateVars: Set[BaseVariable]): (String, String)

    Translate expression expr into code.

    Translate expression expr into code. Symbols in stateVars are treated as mutable states, all others are constant parameters.

    Definition Classes
    CodeGenerator
  8. def apply(expr: Expression): (String, String)

    Translate expression expr into code.

    Translate expression expr into code. All symbols in expr are treated as constant parameters.

    Definition Classes
    CodeGenerator → Function1
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. def compileFormula(f: Formula): CFormula

    Compile a formula to a C expression checking it (in the same arithmetic)

    Compile a formula to a C expression checking it (in the same arithmetic)

    Attributes
    protected
    Definition Classes
    FormulaTermGenerator
  12. def compilePower(base: Term, exp: Term): CTerm

    Compile exponentials

    Compile exponentials

    base

    base of the exponential

    exp

    index of the exponential

    returns

    simplified generation of exponential

    Attributes
    protected
    Definition Classes
    FormulaTermGenerator
  13. def compileTerm(t: Term): CTerm

    Compile a term to an expression evaluating it (in the same arithmetic).

    Compile a term to an expression evaluating it (in the same arithmetic).

    Attributes
    protected
    Definition Classes
    FormulaTermGenerator
  14. def compose[A](g: (A) ⇒ Expression): (A) ⇒ (String, String)
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def nameIdentifier(s: NamedSymbol): String

    Identifier corresponding to a NamedSymbol

    Identifier corresponding to a NamedSymbol

    Definition Classes
    GenericFormulaTermGeneratorFormulaTermGenerator
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def printSort(s: Sort): String

    Prints the sort s.

    Prints the sort s.

    Definition Classes
    GenericFormulaTermGeneratorFormulaTermGenerator
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from FormulaTermGenerator

Inherited from CodeGenerator

Inherited from (Expression) ⇒ (String, String)

Inherited from AnyRef

Inherited from Any

Ungrouped