public class AbstractRun<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>> extends ArrayList<IStep<F,N,P,T,M>> implements IRun<F,N,P,T,M>
| Modifier and Type | Field and Description |
|---|---|
protected M |
currentMarking |
protected M |
initialMarking |
protected Set<T> |
possibleExtensions |
protected INetSystem<F,N,P,T,M> |
sys |
modCount| Constructor and Description |
|---|
AbstractRun() |
AbstractRun(INetSystem<F,N,P,T,M> sys) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int arg0,
IStep<F,N,P,T,M> arg1) |
boolean |
add(IStep<F,N,P,T,M> arg0) |
boolean |
addAll(Collection<? extends IStep<F,N,P,T,M>> arg0) |
boolean |
addAll(int arg0,
Collection<? extends IStep<F,N,P,T,M>> arg1) |
boolean |
append(T transition)
Append transition to this run.
|
void |
clear() |
IRun<F,N,P,T,M> |
clone()
Clone this run.
|
protected void |
copyTransitions(IRun<F,N,P,T,M> run) |
protected IStep<F,N,P,T,M> |
createStep(IPetriNet<F,N,P,T> net,
M inputMarking,
T transition) |
protected IStep<F,N,P,T,M> |
createStep(IPetriNet<F,N,P,T> net,
M inputMarking,
T transition,
M outputMarking) |
Set<T> |
getPossibleExtensions()
Get transitions that can fire and extend this run.
|
IStep<F,N,P,T,M> |
remove(int arg0) |
boolean |
remove(Object arg0) |
boolean |
removeAll(Collection<?> arg0) |
protected void |
removeRange(int arg0,
int arg1) |
boolean |
retainAll(Collection<?> arg0) |
IStep<F,N,P,T,M> |
set(int arg0,
IStep<F,N,P,T,M> arg1) |
void |
setNetSystem(INetSystem<F,N,P,T,M> system)
Set net system of this run.
|
contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, size, subList, toArray, toArrayprotected INetSystem<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>> sys
protected Set<T extends ITransition> possibleExtensions
public Set<T> getPossibleExtensions()
IRunpublic boolean append(T transition)
IRunpublic boolean add(IStep<F,N,P,T,M> arg0)
add in interface Collection<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>add in interface List<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>add in class ArrayList<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>public boolean addAll(Collection<? extends IStep<F,N,P,T,M>> arg0)
addAll in interface Collection<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>addAll in interface List<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>addAll in class ArrayList<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>public void clear()
clear in interface Collection<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>clear in interface List<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>clear in class ArrayList<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>public IRun<F,N,P,T,M> clone()
IRunclone in interface IRun<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>clone in class ArrayList<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>protected IStep<F,N,P,T,M> createStep(IPetriNet<F,N,P,T> net, M inputMarking, T transition, M outputMarking)
protected IStep<F,N,P,T,M> createStep(IPetriNet<F,N,P,T> net, M inputMarking, T transition)
public boolean remove(Object arg0)
remove in interface Collection<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>remove in interface List<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>remove in class ArrayList<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>public boolean removeAll(Collection<?> arg0)
removeAll in interface Collection<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>removeAll in interface List<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>removeAll in class ArrayList<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>protected void removeRange(int arg0,
int arg1)
public boolean retainAll(Collection<?> arg0)
retainAll in interface Collection<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>retainAll in interface List<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>retainAll in class ArrayList<IStep<F extends IFlow<N>,N extends INode,P extends IPlace,T extends ITransition,M extends IMarking<F,N,P,T>>>Copyright © 2017. All rights reserved.