|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HighLevelChoice
Defines the choices that are available for a high-level process. A choice in a process
corresponds to selecting an alternative path at a decision point in the process.
Note that the interface specifies the maximum set of high-level information
that can be provided for a choice construct. However, some of these data represent a
different view on the same thing, that is, they are in conflict with each other (e.g. in the
case of a choice construct the selection of an alternative path at a decision point can only be based on only a
data dependency, only a probability dependency or only a frequency dependency. So, not on
two things together).
This means that, although all the available information can be provided, eventually
only a subset of it might be used (for example, based on the user's choice).
Note further that there is no need to provide all the information that can be
specified via this interface. If for a specific concept no value is available,
this simply means that it is "unknown".
Nested Class Summary | |
---|---|
static class |
HighLevelChoice.ChoiceEnum
Defines which kinds of distributions are available. |
Method Summary | |
---|---|
void |
addDataDependency(HighLevelDataDependency dep)
Adds the given data dependency to this choice construct. |
void |
addFrequencyDependency(HighLevelActivity dep)
Adds the given data frequency dependency to this choice construct. |
void |
addProbabilityDependency(HighLevelProbabilityDependency dep)
Adds the given probability dependency to this choice construct. |
boolean |
equals(java.lang.Object obj)
Compares the specified object with this HighLevelChoice for equality. |
HighLevelChoice.ChoiceEnum |
getChoiceConfiguration()
Indicates which kind of information should be used in the simulation model to choose for one of the alternative paths for this choice node. |
ModelGraphVertex |
getChoiceNode()
Returns the choice node associated to this choice construct. |
java.util.List<HighLevelDataDependency> |
getDataDependencies()
Retrieves the data dependencies specified for this choice node. |
java.util.List<HighLevelActivity> |
getFrequencyDependencies()
Retrieves the frequency dependencies specified for this choice node. |
java.util.List<HighLevelProbabilityDependency> |
getProbabilityDependencies()
Retrieves the probability dependencies specified for this choice node. |
int |
hashCode()
Returns the hascode for a HighLevelChoice object. |
void |
removeAllFrequencyDependencies()
Removes all the frequency dependencies from this highlevelchoice |
Method Detail |
---|
ModelGraphVertex getChoiceNode()
void addDataDependency(HighLevelDataDependency dep)
the
- new data dependency to be added to this choice constructjava.util.List<HighLevelDataDependency> getDataDependencies()
getChoiceConfiguration()
.
HighLevelDataDependency
objects representing the
data dependencies provided for this process if available.
The list may be emptyvoid addProbabilityDependency(HighLevelProbabilityDependency dep)
the
- new probability dependency to be added to this choice constructjava.util.List<HighLevelProbabilityDependency> getProbabilityDependencies()
getChoiceConfiguration()
.
HighLevelProbabilityDependency
objects representing the
probability dependencies provided for this process if available.
The list may be emptyvoid addFrequencyDependency(HighLevelActivity dep)
the
- new high level activity to be added as a frequency dependency
to this choice constructjava.util.List<HighLevelActivity> getFrequencyDependencies()
getChoiceConfiguration()
.
HighLevelActivity
objects representing the
frequency dependency targets provided for this process if available.
The list may be emptyvoid removeAllFrequencyDependencies()
HighLevelChoice.ChoiceEnum getChoiceConfiguration()
boolean equals(java.lang.Object obj)
true
if the following aspects of the HighLevelChoices that compared
are the same:
equals
in class java.lang.Object
obj
- Object
int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |