Class

it.unich.scalafix.finite

SimpleFiniteEquationSystem

Related Doc: package finite

Permalink

case class SimpleFiniteEquationSystem[U, V](body: Body[U, V], initial: InputAssignment[U, V], inputUnknowns: Set[U], unknowns: Iterable[U], infl: Relation[U], tracer: Option[EquationSystemTracer[U, V]] = None) extends EquationSystemBase[U, V] with FiniteEquationSystem[U, V] with Product with Serializable

A simple standard implementation of FiniteEquationSystem. All fields must be provided explicitly by the user with the exception of bodyWithDependencies which is computed by body.

Linear Supertypes
Serializable, Serializable, Product, Equals, FiniteEquationSystem[U, V], EquationSystemBase[U, V], EquationSystem[U, V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleFiniteEquationSystem
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FiniteEquationSystem
  7. EquationSystemBase
  8. EquationSystem
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleFiniteEquationSystem(body: Body[U, V], initial: InputAssignment[U, V], inputUnknowns: Set[U], unknowns: Iterable[U], infl: Relation[U], tracer: Option[EquationSystemTracer[U, V]] = None)

    Permalink

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. val body: Body[U, V]

    Permalink

    The body of the equation system, i.e., a map Assignment[U,V] => Assignment[U,V].

    The body of the equation system, i.e., a map Assignment[U,V] => Assignment[U,V].

    Definition Classes
    SimpleFiniteEquationSystemEquationSystem
  6. def bodyWithBaseAssignment(init: PartialFunction[U, V], comb: (V, V) ⇒ V): Body[U, V]

    Permalink

    Returns a new body, in which the init assignment is combined with the result of body evaluation trough the use of the comb combiner.

    Returns a new body, in which the init assignment is combined with the result of body evaluation trough the use of the comb combiner.

    Attributes
    protected
    Definition Classes
    EquationSystemBase
  7. def bodyWithBoxAssignment(boxes: BoxAssignment[U, V]): Body[U, V]

    Permalink

    Returns a new body with boxes added to the evaluation.

    Returns a new body with boxes added to the evaluation. If tracer is defined, the boxEvaluation callback is invoked during evaluation.

    Attributes
    protected
    Definition Classes
    EquationSystemBase
  8. val bodyWithDependencies: BodyWithDependencies[U, V]

    Permalink

    Implement the bodyWithDependencies method by instrumenting the source assignment in order to record access to unknowns.

    Implement the bodyWithDependencies method by instrumenting the source assignment in order to record access to unknowns.

    Definition Classes
    EquationSystemBaseEquationSystem
  9. def bodyWithTracer(t: EquationSystemTracer[U, V]): Body[U, V]

    Permalink

    Returns a new body which calls the current tracer before and after evaluation.

    Returns a new body which calls the current tracer before and after evaluation.

    t

    the tracer to be called by the new body

    Attributes
    protected
    Definition Classes
    EquationSystemBase
  10. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. val infl: Relation[U]

    Permalink

    The static relation between an unknown x and the unknowns y it influences.

    The static relation between an unknown x and the unknowns y it influences. If infl(x) does not contain y, it means that eqs(rho)(y) == eqs(rho')(y), when rho' = rho[x / eqs(rho)(x)].

    Definition Classes
    SimpleFiniteEquationSystemFiniteEquationSystem
  15. val initial: InputAssignment[U, V]

    Permalink

    An initial value for starting the analyzer

    An initial value for starting the analyzer

    Definition Classes
    SimpleFiniteEquationSystemEquationSystem
  16. val inputUnknowns: Set[U]

    Permalink

    The unknowns which may be considered the input to this equation system.

    The unknowns which may be considered the input to this equation system.

    Definition Classes
    SimpleFiniteEquationSystemFiniteEquationSystemEquationSystem
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val tracer: Option[EquationSystemTracer[U, V]]

    Permalink

    An optional tracer which should be called during body evaluation.

    An optional tracer which should be called during body evaluation.

    Definition Classes
    SimpleFiniteEquationSystemEquationSystemBase
  23. val unknowns: Iterable[U]

    Permalink

    The collection of all unknowns.

    The collection of all unknowns.

    Definition Classes
    SimpleFiniteEquationSystemFiniteEquationSystem
  24. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def withBaseAssignment(init: PartialFunction[U, V])(implicit magma: Magma[V]): FiniteEquationSystem[U, V]

    Permalink

    Combine a base assignment with the equation system.

    Combine a base assignment with the equation system. The type V should be endowed with a magma.

    init

    the assignment to add to the equation system

    Definition Classes
    SimpleFiniteEquationSystemFiniteEquationSystemEquationSystem
  28. def withBoxes(boxes: BoxAssignment[U, V]): FiniteEquationSystem[U, V]

    Permalink

    Add boxes to the equation system

    Add boxes to the equation system

    boxes

    a box assignment

    Definition Classes
    SimpleFiniteEquationSystemFiniteEquationSystemEquationSystem
  29. def withTracer(t: EquationSystemTracer[U, V]): FiniteEquationSystem[U, V]

    Permalink

    Add a tracer to the equation system.

    Add a tracer to the equation system. The tracer contains call-backs to be invoked during body evaluation.

    t

    the tracer

    Definition Classes
    SimpleFiniteEquationSystemFiniteEquationSystemEquationSystem

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FiniteEquationSystem[U, V]

Inherited from EquationSystemBase[U, V]

Inherited from EquationSystem[U, V]

Inherited from AnyRef

Inherited from Any

Ungrouped