Trait

ostrich.preop

PreOp

Related Doc: package preop

Permalink

trait PreOp extends AnyRef

Interface for back-propagating regex constraints over n-ary functions f.

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

Abstract Value Members

  1. abstract def apply(argumentConstraints: Seq[Seq[Automaton]], resultConstraint: Automaton): (Iterator[Seq[Automaton]], Seq[Seq[Automaton]])

    Permalink

    Given known regex constraints for function arguments and function result, derive a sequence of regex constraints for the arguments such that

    Given known regex constraints for function arguments and function result, derive a sequence of regex constraints for the arguments such that

    • returned constraints are contained in the pre-image: any word tuple accepted by any of the returned automata tuples is mapped by the function to a word accepted by the result constraint
    • returned constraints subsume the pre-image intersected with the existing argument constraints: whenever a word tuple is accepted by the given argument constraints, and is mapped by the function to a word accepted by the result constraint, then the word tuple is also accepted by one of the returned constraints

    If the result depends on the given argumentConstraints, then the used constraints also have to be returned as second result component.

  2. abstract def eval(arguments: Seq[Seq[Int]]): Option[Seq[Int]]

    Permalink

    Evaluate the described function; return None if the function is not defined for the given arguments.

    Evaluate the described function; return None if the function is not defined for the given arguments.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def charCountApproximation(char: Int, arguments: Seq[Term], result: Term, order: TermOrder): Formula

    Permalink

    Generate a formula that approximates the character count (= Parikh) relationship between arguments and result, for one particular letter char.

    Generate a formula that approximates the character count (= Parikh) relationship between arguments and result, for one particular letter char. It is sound to just return true. The parameters arguments and result are terms representing the length of the string arguments.

  6. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def forwardApprox(argumentConstraints: Seq[Seq[Automaton]]): Automaton

    Permalink

    Given constraints on the input variables, produce an over-approximation constraint on the output.

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def lengthApproximation(arguments: Seq[Term], result: Term, order: TermOrder): Formula

    Permalink

    Generate a formula that approximates the length relationship between arguments and result.

    Generate a formula that approximates the length relationship between arguments and result. It is sound to just return true. The parameters arguments and result are terms representing the length of the string arguments.

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

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped