public class AbstractCompletePrefixUnfolding<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 AbstractBranchingProcess<BPN,C,E,F,N,P,T,M> implements ICompletePrefixUnfolding<BPN,C,E,F,N,P,T,M>
| Modifier and Type | Field and Description |
|---|---|
protected IAdequateOrder<BPN,C,E,F,N,P,T,M> |
ADEQUATE_ORDER |
protected Map<E,E> |
cutoff2corr |
protected CompletePrefixUnfoldingSetup |
setup |
protected List<T> |
totalOrderTs |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCompletePrefixUnfolding()
Empty constructor.
|
|
AbstractCompletePrefixUnfolding(INetSystem<F,N,P,T,M> sys)
Constructor with default setup.
|
|
AbstractCompletePrefixUnfolding(INetSystem<F,N,P,T,M> sys,
CompletePrefixUnfoldingSetup setup)
Constructor with specified setup.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCutoff(E e,
E corr) |
protected E |
checkCutoffA(E cutoff) |
protected E |
checkCutoffB(E cutoff,
E corr) |
protected void |
constructSafe() |
protected ICoSet<BPN,C,E,F,N,P,T,M> |
containsPlaces(ICoSet<BPN,C,E,F,N,P,T,M> coset,
Collection<P> places) |
E |
createEvent(T transition,
ICoSet<BPN,C,E,F,N,P,T,M> preConditions)
Factory method to provide an event of the branching process implementation.
|
E |
getCorrespondingEvent(E event)
Get a corresponding event of a given cutoff event.
|
Set<E> |
getCutoffEvents()
Get cutoff events of this complete prefix unfolding.
|
protected IPossibleExtensions<BPN,C,E,F,N,P,T,M> |
getInitialPossibleExtensions()
Construct unfolding.
|
IOccurrenceNet<BPN,C,E,F,N,P,T,M> |
getOccurrenceNet()
Get occurrence net.
|
List<T> |
getTotalOrderOfTransitions()
Get total order of transitions used to construct this complete prefix unfolding.
|
boolean |
isCutoffEvent(E event)
Check if a given event is a cutoff event in this complete prefix unfolding.
|
boolean |
isHealthyCutoffEvent(E event) |
boolean |
isProper() |
appendCondition, appendEvent, appendTransition, areCausal, areConcurrent, areInConflict, areInverseCausal, areMutuallyConcurrent, clone, constructInitialBranchingProcess, createCondition, createCoSet, createCut, getCausalPredecessors, getConditions, getConditions, getCuts, getEvents, getEvents, getInitialCut, getLog, getMax, getMin, getOrderingRelation, getOriginativeNetSystem, getPlaces, getTransitions, initialize, isConflictFree, isCut, isSafe, setNetSystem, updateCausalityConditionequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendCondition, appendEvent, appendTransition, areMutuallyConcurrent, clone, constructInitialBranchingProcess, createCondition, createCoSet, createCut, getCausalPredecessors, getConditions, getConditions, getCuts, getEvents, getEvents, getInitialCut, getLog, getMax, getMin, getOriginativeNetSystem, getPlaces, getTransitions, isConflictFree, isCut, isSafe, setNetSystemareCausal, areConcurrent, areInConflict, areInverseCausal, getOrderingRelationprotected CompletePrefixUnfoldingSetup setup
protected Map<E extends IEvent<BPN,C,E,F,N,P,T,M>,E extends IEvent<BPN,C,E,F,N,P,T,M>> cutoff2corr
protected List<T extends ITransition> totalOrderTs
protected AbstractCompletePrefixUnfolding()
public AbstractCompletePrefixUnfolding(INetSystem<F,N,P,T,M> sys)
sys - Net system to construct complete prefix unfolding for.public AbstractCompletePrefixUnfolding(INetSystem<F,N,P,T,M> sys, CompletePrefixUnfoldingSetup setup)
sys - Net system to construct complete prefix unfolding for.setup - Setup to use when constructing complete prefix unfolding.protected void constructSafe()
protected IPossibleExtensions<BPN,C,E,F,N,P,T,M> getInitialPossibleExtensions()
protected ICoSet<BPN,C,E,F,N,P,T,M> containsPlaces(ICoSet<BPN,C,E,F,N,P,T,M> coset, Collection<P> places)
public Set<E> getCutoffEvents()
ICompletePrefixUnfoldinggetCutoffEvents in interface ICompletePrefixUnfolding<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 isCutoffEvent(E event)
ICompletePrefixUnfoldingisCutoffEvent in interface ICompletePrefixUnfolding<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>>event - Event of this complete prefix unfolding.public E getCorrespondingEvent(E event)
ICompletePrefixUnfoldinggetCorrespondingEvent in interface ICompletePrefixUnfolding<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>>event - A cutoff event of this complete prefix unfolding.public List<T> getTotalOrderOfTransitions()
ICompletePrefixUnfoldinggetTotalOrderOfTransitions in interface ICompletePrefixUnfolding<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 IOccurrenceNet<BPN,C,E,F,N,P,T,M> getOccurrenceNet()
IBranchingProcessgetOccurrenceNet in interface IBranchingProcess<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>>getOccurrenceNet in class AbstractBranchingProcess<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 E createEvent(T transition, ICoSet<BPN,C,E,F,N,P,T,M> preConditions)
IBranchingProcesscreateEvent in interface IBranchingProcess<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>>createEvent in class AbstractBranchingProcess<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.preConditions - The preset of 't'.public boolean isHealthyCutoffEvent(E event)
Copyright © 2017. All rights reserved.