|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HighLevelProbabilityDependency
Represents a probability dependency for an alternative branch
as it can be determined, e.g., via some frequency analysis.
Not that in the case that there are dependent choices in the process
(i.e., non-free-choice constructs) this kind of dependency may result
in unexpected results. Therefore, the usage of some explicit frequency
model should be considered.
HighLevelActivity#addFrequencyDependency
,
HighLevelActivity#getFrequencyDependencies
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares the specified object with this HighLevelProbabilityDependency for equality. |
double |
getProbability()
Retrieves the probability that has been set for this dependency |
ModelGraphVertex |
getSourceNode()
Retrieves the source node of the probability dependency that exists between two nodes |
ModelGraphVertex |
getTargetNode()
Retrievs the target node of the probability dependency that exists between two nodes |
int |
hashCode()
Returns the hascode for a HighLevelProbabilityDependency object. |
void |
setProbability(double probability)
Sets the probability for this dependency (between two nodes) |
void |
setSourceNode(ModelGraphVertex source)
Sets the source node for the probability dependency that exists between two nodes |
void |
setTargetNode(ModelGraphVertex target)
Sets the target node for the probability dependency that exists between two nodes |
Method Detail |
---|
void setProbability(double probability)
probability
- double the probability for this dependencydouble getProbability()
void setSourceNode(ModelGraphVertex source)
source
- ModelGraphVertex the source nodeModelGraphVertex getSourceNode()
void setTargetNode(ModelGraphVertex target)
target
- ModelGraphVertex the target nodeModelGraphVertex getTargetNode()
boolean equals(java.lang.Object obj)
true
if the following aspects of the HighLevelProbabilityDependency that are
compared are the same:
equals
in class java.lang.Object
obj
- Object object to be compared for equality with this HighLevelProbabilityDependency
int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |