Package jline.api.wfn
Class WFNPlace
java.lang.Object
jline.api.wfn.WFNNode
jline.api.wfn.WFNPlace
A place in a Workflow Net.
A place holds the tokens that enable transitions. Its initial marking is
informational: the analyses of WorkflowNet always start from k tokens
in the source place, as WF-net soundness does.
MATLAB twin: matlab/src/api/wfn/WFNPlace.m.
-
Constructor Summary
ConstructorsConstructorDescriptionWFNPlace(WorkflowNet workflowNet, String name) Create a new WFNPlace without tokens.WFNPlace(WorkflowNet workflowNet, String name, int initialMarking) Create a new WFNPlace. -
Method Summary
Methods inherited from class jline.api.wfn.WFNNode
getIndex, getName, getWorkflowNet, toString
-
Constructor Details
-
WFNPlace
Create a new WFNPlace.- Parameters:
workflowNet- parent WorkflowNetname- place nameinitialMarking- initial token count
-
WFNPlace
Create a new WFNPlace without tokens.- Parameters:
workflowNet- parent WorkflowNetname- place name
-
-
Method Details
-
getInitialMarking
public int getInitialMarking() -
setInitialMarking
public void setInitialMarking(int marking) -
getNetworkPlace
-