public 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>> extends IOrderingRelationsDescriptor<BPN,N>, Cloneable
INetSystem).| Modifier and Type | Method and Description |
|---|---|
boolean |
appendCondition(C condition)
Append condition to this branching process.
|
boolean |
appendEvent(E event)
Append event to this branching process.
|
boolean |
appendTransition(T transition)
Append a fresh event that corresponds to the given transition.
|
boolean |
areMutuallyConcurrent(Collection<C> conditions) |
IBranchingProcess<BPN,C,E,F,N,P,T,M> |
clone() |
void |
constructInitialBranchingProcess()
Construct initial branching process (only if this branching process is empty).
|
C |
createCondition(P place,
E event)
Factory method to provide a condition of the branching process implementation.
|
ICoSet<BPN,C,E,F,N,P,T,M> |
createCoSet()
Factory method to provide a co-set of the branching process implementation.
|
ICut<BPN,C,E,F,N,P,T,M> |
createCut()
Factory method to provide a cut of the branching process implementation.
|
E |
createEvent(T transition,
ICoSet<BPN,C,E,F,N,P,T,M> preset)
Factory method to provide an event of the branching process implementation.
|
Set<BPN> |
getCausalPredecessors(BPN node)
Get causal predecessors of a given node of this branching process.
|
Set<C> |
getConditions()
Get conditions of this branching process.
|
Set<C> |
getConditions(P place)
Get conditions of this branching process that correspond to a given place in the originative net system.
|
Set<ICut<BPN,C,E,F,N,P,T,M>> |
getCuts(Collection<P> places)
Get cuts of this branching process that refer to the provided collection of places.
|
Set<E> |
getEvents()
Get events of this branching process.
|
Set<E> |
getEvents(T transition)
Get events of this branching process that correspond to a given transition in the originative net system.
|
ICut<BPN,C,E,F,N,P,T,M> |
getInitialCut()
Get initial cut of this branching process, i.e., the set of condition without input events.
|
List<E> |
getLog()
Get log of events which was used to construct this branching process.
|
Set<C> |
getMax()
Get maximum, i.e., conditions without output events, of this branching process.
|
Set<C> |
getMin()
Get minimum, i.e., conditions without input events, of this branching process.
|
IOccurrenceNet<BPN,C,E,F,N,P,T,M> |
getOccurrenceNet()
Get occurrence net.
|
INetSystem<F,N,P,T,M> |
getOriginativeNetSystem()
Get originative net system of this branching process.
|
Set<P> |
getPlaces(Collection<C> conditions)
Get places of the originative net system that are associated with the given conditions.
|
Set<T> |
getTransitions(Collection<E> events)
Get transitions of the originative net system that are associated with the given events.
|
boolean |
isConflictFree()
Check if this branching process is conflict free.
|
boolean |
isCut(Collection<C> conditions)
Check if a given collection of conditions is a cut in this branching process.
|
boolean |
isSafe()
Check if this branching process is safe.
|
void |
setNetSystem(INetSystem<F,N,P,T,M> system)
Set net system of this branching process.
|
areCausal, areConcurrent, areInConflict, areInverseCausal, getOrderingRelationSet<C> getConditions()
Set<C> getConditions(P place)
Set<E> getEvents()
Set<E> getEvents(T transition)
INetSystem<F,N,P,T,M> getOriginativeNetSystem()
C createCondition(P place, E event)
place - A place.event - An event.E createEvent(T transition, ICoSet<BPN,C,E,F,N,P,T,M> preset)
transition - A transition.preset - The preset of 't'.ICoSet<BPN,C,E,F,N,P,T,M> createCoSet()
ICut<BPN,C,E,F,N,P,T,M> createCut()
ICut<BPN,C,E,F,N,P,T,M> getInitialCut()
boolean isConflictFree()
Set<BPN> getCausalPredecessors(BPN node)
node - Node of this branching process.void setNetSystem(INetSystem<F,N,P,T,M> system)
system - Net system to use as the originative system of this branching process.boolean isSafe()
Set<C> getMin()
Set<C> getMax()
IBranchingProcess.isConflictFree()) branching process is a cut (maximal co-set of conditions)!Set<P> getPlaces(Collection<C> conditions)
conditions - Conditions of this branching process.Set<T> getTransitions(Collection<E> events)
events - Events of this branching process.boolean appendCondition(C condition)
condition - Condition to append.boolean appendEvent(E event)
condition - Event to append.boolean appendTransition(T transition)
transition - Transition that a fresh event should refer to.void constructInitialBranchingProcess()
IOccurrenceNet<BPN,C,E,F,N,P,T,M> getOccurrenceNet()
boolean isCut(Collection<C> conditions)
conditions - Collection of conditions.boolean areMutuallyConcurrent(Collection<C> conditions)
Set<ICut<BPN,C,E,F,N,P,T,M>> getCuts(Collection<P> places)
places - Collection of places of the originative net system.List<E> getLog()
Copyright © 2017. All rights reserved.