|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.exporting.petrinet.cpnexport.HLImplementation.HLProbabilityDependency
public class HLProbabilityDependency
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
Constructor Summary | |
---|---|
HLProbabilityDependency()
Default constructor for HLProbabilityDependency |
|
HLProbabilityDependency(double probability,
ModelGraphVertex source,
ModelGraphVertex target)
Constructor with which a probability dependency can be set between two nodes |
Method Summary | |
---|---|
java.lang.Object |
clone()
Makes a shallow copy of this object |
boolean |
equals(java.lang.Object obj)
Compares the specified object with this HighLevelProbabilityDependency for equality. |
javax.swing.JPanel |
getPanel()
Returns the GUI panel representing this probability dependency. |
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 |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HLProbabilityDependency()
public HLProbabilityDependency(double probability, ModelGraphVertex source, ModelGraphVertex target)
probability
- double the probability dependencysource
- ModelGraphVertex the source of the alternative branchtarget
- ModelGraphVertex the target of the alternative branchMethod Detail |
---|
public void setProbability(double probability)
HighLevelProbabilityDependency
setProbability
in interface HighLevelProbabilityDependency
probability
- double the probability for this dependencypublic double getProbability()
HighLevelProbabilityDependency
getProbability
in interface HighLevelProbabilityDependency
public void setSourceNode(ModelGraphVertex source)
HighLevelProbabilityDependency
setSourceNode
in interface HighLevelProbabilityDependency
source
- ModelGraphVertex the source nodepublic ModelGraphVertex getSourceNode()
HighLevelProbabilityDependency
getSourceNode
in interface HighLevelProbabilityDependency
public void setTargetNode(ModelGraphVertex target)
HighLevelProbabilityDependency
setTargetNode
in interface HighLevelProbabilityDependency
target
- ModelGraphVertex the target nodepublic ModelGraphVertex getTargetNode()
HighLevelProbabilityDependency
getTargetNode
in interface HighLevelProbabilityDependency
public boolean equals(java.lang.Object obj)
HighLevelProbabilityDependency
true
if the following aspects of the HighLevelProbabilityDependency that are
compared are the same:
equals
in interface HighLevelProbabilityDependency
equals
in class java.lang.Object
obj
- Object object to be compared for equality with this HighLevelProbabilityDependency
public int hashCode()
HighLevelProbabilityDependency
hashCode
in interface HighLevelProbabilityDependency
hashCode
in class java.lang.Object
public javax.swing.JPanel getPanel()
public java.lang.Object clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |