case class IntermediateResult[P <: Property](e: Entity, lb: P, ub: P, dependees: Traversable[SomeEOptionP], c: OnUpdateContinuation, hint: PropertyComputationHint = DefaultPropertyComputation) extends PropertyComputationResult with Product with Serializable
Encapsulates an intermediate result of the computation of a property.
Intermediate results are to be used if further refinements are possible.
Hence, if a property of any of the dependees changes (outgoing dependencies),
the given continuation c is invoked.
All current computations that depend on the property of the entity will be invoked.
- dependees
The entity/property (kind) pairs the analysis depends on. Each
entity/property kindpair must occur at most once in the list, the current entity/property kind (ep) must not occur; i.e., self-reference are forbidden! A dependee must have been queried usingPropertyStore.apply(...); directly returning a dependee without a prior querying of the property store can lead to unexpected results. A dependee must NEVER be less precise than the value returned by the query. In general, the set of dependees is expected to shrink over time and the result should capture the effect of all properties. However, it is possible to first wait on specific properties of specific entities, if these properties ultimately determine the overall result. Hence, it is possible to partition the set of entity / properties and to query each group one after another. AnIntermediateResultreturned by anOnUpdateContinuationmust contain the EPS given to the continuation function or a newer EPS (i.e., an onUpdateContinuation is allowed to query the store again). The given set of dependees must not be mutated; it is used internally and if the set is mutated, propagation of changes no longer works reliably.- c
The function which is called if a property of any of the dependees is updated.
cdoes not have to be thread safe unless the same instance ofcis returned multiple times for different entities (e) which should be avoided and is generally not necessary. I.e., it is recommended to think aboutcas the function that completes the computation of the propertypfor the entityeidentified byep. In general,ccan have (mutual) state encapsulates (temporary) information required to compute the final property.
- Note
All elements on which the result declares to be dependent on must have been queried before (using one of the
applyfunctions of the property store.)
- Alphabetic
- By Inheritance
- IntermediateResult
- Serializable
- Serializable
- Product
- Equals
- PropertyComputationResult
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
IntermediateResult(e: Entity, lb: P, ub: P, dependees: Traversable[SomeEOptionP], c: OnUpdateContinuation, hint: PropertyComputationHint = DefaultPropertyComputation)
- dependees
The entity/property (kind) pairs the analysis depends on. Each
entity/property kindpair must occur at most once in the list, the current entity/property kind (ep) must not occur; i.e., self-reference are forbidden! A dependee must have been queried usingPropertyStore.apply(...); directly returning a dependee without a prior querying of the property store can lead to unexpected results. A dependee must NEVER be less precise than the value returned by the query. In general, the set of dependees is expected to shrink over time and the result should capture the effect of all properties. However, it is possible to first wait on specific properties of specific entities, if these properties ultimately determine the overall result. Hence, it is possible to partition the set of entity / properties and to query each group one after another. AnIntermediateResultreturned by anOnUpdateContinuationmust contain the EPS given to the continuation function or a newer EPS (i.e., an onUpdateContinuation is allowed to query the store again). The given set of dependees must not be mutated; it is used internally and if the set is mutated, propagation of changes no longer works reliably.- c
The function which is called if a property of any of the dependees is updated.
cdoes not have to be thread safe unless the same instance ofcis returned multiple times for different entities (e) which should be avoided and is generally not necessary. I.e., it is recommended to think aboutcas the function that completes the computation of the propertypfor the entityeidentified byep. In general,ccan have (mutual) state encapsulates (temporary) information required to compute the final property.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val c: OnUpdateContinuation
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val dependees: Traversable[SomeEOptionP]
- val e: Entity
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- IntermediateResult → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- IntermediateResult → AnyRef → Any
- val hint: PropertyComputationHint
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lb: P
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- IntermediateResult → AnyRef → Any
- val ub: P
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )