public abstract class AbstractProcessSystem<BPN extends IBPNode<N>,C extends ICondition<BPN,C,E,F,N,P,T,M>,E extends IEvent<BPN,C,E,F,N,P,T,M>,F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>> extends Object implements IProcessSystem<BPN,C,E,F,N,P,T,M>
IProcessSystem interface.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractProcessSystem() |
|
AbstractProcessSystem(INetSystem<F,N,P,T,M> sys,
IProcess<BPN,C,E,F,N,P,T,M> pi) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fire(T transition)
Fire a given transition, i.e., trigger an occurrence of a given transition.
|
Set<T> |
getEnabledTransitions()
Get enabled transitions of this process system.
|
M |
getMarking()
Get marking of this process system.
|
INetSystem<F,N,P,T,M> |
getNetSystem()
Get net system.
|
IProcess<BPN,C,E,F,N,P,T,M> |
getProcess()
Get process.
|
void |
setProcess(IProcess<BPN,C,E,F,N,P,T,M> pi)
Set process.
|
void |
setSystem(INetSystem<F,N,P,T,M> sys)
Set net system.
|
public Set<T> getEnabledTransitions()
IProcessSystemgetEnabledTransitions in interface IProcessSystem<BPN extends IBPNode<N>,C extends ICondition<BPN,C,E,F,N,P,T,M>,E extends IEvent<BPN,C,E,F,N,P,T,M>,F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>public boolean fire(T transition)
IProcessSystemfire in interface IProcessSystem<BPN extends IBPNode<N>,C extends ICondition<BPN,C,E,F,N,P,T,M>,E extends IEvent<BPN,C,E,F,N,P,T,M>,F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>transition - A transition to fire.public M getMarking()
IProcessSystempublic IProcess<BPN,C,E,F,N,P,T,M> getProcess()
IProcessSystempublic INetSystem<F,N,P,T,M> getNetSystem()
IProcessSystempublic void setSystem(INetSystem<F,N,P,T,M> sys)
IProcessSystemsetSystem in interface IProcessSystem<BPN extends IBPNode<N>,C extends ICondition<BPN,C,E,F,N,P,T,M>,E extends IEvent<BPN,C,E,F,N,P,T,M>,F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>sys - A net system to use for this process system.public void setProcess(IProcess<BPN,C,E,F,N,P,T,M> pi)
IProcessSystemsetProcess in interface IProcessSystem<BPN extends IBPNode<N>,C extends ICondition<BPN,C,E,F,N,P,T,M>,E extends IEvent<BPN,C,E,F,N,P,T,M>,F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>pi - A process to use for this process system.Copyright © 2017. All rights reserved.