de.upb.swt.epctools.simulator.explicit
Class XorSplitConnector_DS
java.lang.Object
de.upb.swt.epctools.simulator.explicit.Node_DS
de.upb.swt.epctools.simulator.explicit.SplitConnector_DS
de.upb.swt.epctools.simulator.explicit.XorSplitConnector_DS
class XorSplitConnector_DS
- extends SplitConnector_DS
Implements an XOR-split connector of the EPC data structure.
- Author:
- Ekkart Kindler, kindler@upb.de
|
Method Summary |
(package private) void |
addSuccessors(State source,
TransitionSystem ts)
Adds the successor states and the corresponding transitions for that node
to the transition system. |
(package private) boolean |
enabled(State state)
Checks whether the node is enabled in the given state. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XorSplitConnector_DS
XorSplitConnector_DS(EPC_DS epc,
Node node,
int number)
- Create a new XOR-split connector.
- Parameters:
epc - the EPC data structure to which this node belongsnode - the node of the EPC model that is representednumber - the number of that node
enabled
boolean enabled(State state)
- Checks whether the node is enabled in the given state.
- Specified by:
enabled in class Node_DS
- Parameters:
state -
- Returns:
- true if the node is enabled in the state
addSuccessors
void addSuccessors(State source,
TransitionSystem ts)
- Adds the successor states and the corresponding transitions for that node
to the transition system. Note that this method must not be called with a
state in which the node is not enabled.
- Specified by:
addSuccessors in class Node_DS
- Parameters:
source - state for which the successor states will be createdts - transitionsystem to which the successor states are added