|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.upb.swt.epctools.simulator.explicit.EPC_DS
public class EPC_DS
Implements the data structure for an EPC model.
| Field Summary | |
|---|---|
(package private) java.util.HashMap |
arcMap
Maps arcs of the actual EPC model to the arcs (arcs) of this data structure. |
(package private) Arc_DS[] |
arcs
The arcs of the EPC data structure. |
(package private) State |
currentState
The current state of the EPC |
(package private) EPC |
epcModel
The actual EPC model to which this data structure belongs. |
(package private) Node_DS[] |
localNodes
The local nodes of the EPC data structure. |
(package private) java.util.HashMap |
nodeMap
Maps nodes of the actual EPC model to the nodes of this data structure. |
(package private) JoinConnector_DS[][] |
nonlocalNodes
Non local nodes according to priorities. |
(package private) OrJoinConnector_DS[] |
orJoinNodes
The OR-join nodes of the EPC data structure. |
static int |
PROP_NOT_WEAKLY_SOUND
|
static int |
PROP_SOUND
|
static int |
PROP_UNDEFINED
|
static int |
PROP_WEAKLY_SOUND
|
(package private) TransitionSystem |
ts
The transition system belonging to this EPC; |
(package private) XorJoinConnector_DS[] |
xorJoinNodes
The XOR-join nodes of the EPC data structure. |
| Constructor Summary | |
|---|---|
EPC_DS(EPC epcModel)
Creates the data structure for an EPC model. |
|
| Method Summary | |
|---|---|
void |
abort()
Aborts the calculation of the transition system. |
void |
calculateTransitionSystem()
Calculates the transition system starting from the current state of the model EPC. |
int |
checkSoundness()
|
boolean |
hasContact()
Returns whether there were contact situations during the construction of the transition system of this EPC model. |
boolean |
isClean()
Returns whether the calculated transition system is clean. |
boolean |
isEnabled(Node modelNode)
Returns whether the given node of the EPC model is enabled in the current state. |
void |
resume()
Prepares for resuming the calulation of the transition system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
EPC epcModel
java.util.HashMap arcMap
java.util.HashMap nodeMap
Arc_DS[] arcs
Node_DS[] localNodes
OrJoinConnector_DS[] orJoinNodes
XorJoinConnector_DS[] xorJoinNodes
JoinConnector_DS[][] nonlocalNodes
TransitionSystem ts
State currentState
public static final int PROP_UNDEFINED
public static final int PROP_NOT_WEAKLY_SOUND
public static final int PROP_WEAKLY_SOUND
public static final int PROP_SOUND
| Constructor Detail |
|---|
public EPC_DS(EPC epcModel)
throws EPCSyntaxError
epcModel - the EPC model
EPCSyntaxError| Method Detail |
|---|
public void abort()
public void resume()
public void calculateTransitionSystem()
throws EPCSimulationException
EPCSimulationException - if not enough memory is availablepublic int checkSoundness()
public boolean isEnabled(Node modelNode)
modelNode -
public boolean isClean()
public boolean hasContact()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||