public class ComputeSmallestCycles
extends java.lang.Object
| Constructor and Description |
|---|
ComputeSmallestCycles() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkSameOrMutallyDisjointPVs(java.util.Collection<? extends CyclePV> cycles)
Checks whether in the given set of cycles and parikh vectors all cycles have the same or mutally disjoint
parikh vectors.
|
boolean |
checkSameOrMutallyDisjointPVs(TransitionSystem ts)
Checks a labeled transition system if all smallest cycles have the same or mutally disjoint parikh vectors.
|
boolean |
checkSamePVs(java.util.Collection<? extends CyclePV> cycles)
Checks whether in the given set of cycles and parikh vectors all cycles have the same parikh vector.
|
boolean |
checkSamePVs(TransitionSystem ts)
Checks a labeled transition system if all smallest cycles have the same parikh vector.
|
boolean |
checkSamePVs(TransitionSystem ts,
boolean smallest)
Checks a labeled transition system if all smallest cycles have the same parikh vector.
|
java.util.Set<? extends CyclePV> |
computePVsOfSmallestCycles(TransitionSystem ts)
Computes the parikh vectors of all smallest cycles of an labeled transition system.
|
java.util.Set<? extends CyclePV> |
computePVsOfSmallestCycles(TransitionSystem ts,
boolean smallest)
Computes the parikh vectors of all smallest cycles of an labeled transition system.
|
java.util.Set<CyclePV> |
computePVsOfSmallestCyclesViaChords(TransitionSystem ts)
Computes the parikh vectors of all smallest cycles of a finite, totally reachable, deterministic and
persistent transition system.
|
java.util.Set<Cycle> |
computePVsOfSmallestCyclesViaCycleSearch(TransitionSystem ts)
Computes the parikh vectors of all smallest cycles of an labeled transition system.
|
java.util.Set<Cycle> |
computePVsOfSmallestCyclesViaCycleSearch(TransitionSystem ts,
boolean smallest)
Computes the parikh vectors of all smallest cycles of an labeled transition system.
|
CycleCounterExample |
getCounterExample()
Function for returning a counter example (as requirements A8a, A8b, A10 state that two counter-examples
should be found in case the condition of the parikh vectors is not met).
|
public java.util.Set<? extends CyclePV> computePVsOfSmallestCycles(TransitionSystem ts)
ts - - the transitionsystem to compute the cycles from.public java.util.Set<Cycle> computePVsOfSmallestCyclesViaCycleSearch(TransitionSystem ts)
ts - - the transitionsystem to compute the cycles from.public boolean checkSamePVs(TransitionSystem ts)
ts - - the transition system to examine.public java.util.Set<? extends CyclePV> computePVsOfSmallestCycles(TransitionSystem ts, boolean smallest)
ts - - the transitionsystem to compute the cycles from.smallest - - Flag which tells if all or just the smallest should be saved.
(Storage vs. Time)public java.util.Set<Cycle> computePVsOfSmallestCyclesViaCycleSearch(TransitionSystem ts, boolean smallest)
ts - - the transitionsystem to compute the cycles from.smallest - - Flag which tells if all or just the smallest should be saved.
(Storage vs. Time)public java.util.Set<CyclePV> computePVsOfSmallestCyclesViaChords(TransitionSystem ts) throws PreconditionFailedException
ts - - the transitionsystem to compute the cycles from.PreconditionFailedException - if the given lts is not totally reachable, deterministic, persistent, or
does not have the disjoint small cycles property.public boolean checkSameOrMutallyDisjointPVs(TransitionSystem ts)
ts - - the transition system to examine.public boolean checkSamePVs(TransitionSystem ts, boolean smallest)
ts - - the transition system to examine.smallest - - Flag which tells if all or just the smallest should be saved.
(Storage vs. Time)public boolean checkSameOrMutallyDisjointPVs(java.util.Collection<? extends CyclePV> cycles)
cycles - - a list of cycles and parikh vectors which should be examined.public boolean checkSamePVs(java.util.Collection<? extends CyclePV> cycles)
cycles - - a list of cycles and parikh vectors which should be examined.public CycleCounterExample getCounterExample()