public class ProbFunctionCache extends Object
Constructor and Description |
---|
ProbFunctionCache(de.uka.ipd.sdq.stoex.Expression ex)
Initialise the probfunctition cache for all probfunctions in the given expression.
|
Modifier and Type | Method and Description |
---|---|
de.uka.ipd.sdq.probfunction.math.IProbabilityFunction |
getProbFunction(EObject e)
Return the cached probfuntion for partial expression e
|
public ProbFunctionCache(de.uka.ipd.sdq.stoex.Expression ex)
ex
- The stoex to analysepublic de.uka.ipd.sdq.probfunction.math.IProbabilityFunction getProbFunction(EObject e)
e
- SubExpession which has to be a probfunction literal for which to query the cache