L
- Location typepublic class ReachabilityRelation<L> extends Object
Constructor and Description |
---|
ReachabilityRelation() |
Modifier and Type | Method and Description |
---|---|
boolean |
areInRelation(L start,
L target)
Tests whether the two locations are in relation.
|
ReachabilityRelation<L> |
computePotentialValueReachabilityRelation(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> automaton,
boolean computeWitnesses)
Computes a subset of this reachability relation such that the witnesses that
go from one location to the other by reading a potential value in a JSON
document, i.e., what follows a key symbol.
|
static <L1,L2> ReachabilityRelation<L2> |
computeReachabilityRelation(net.automatalib.automata.vpda.OneSEVPA<L1,JSONSymbol> previousHypothesis,
ReachabilityRelation<L1> previousReachabilityRelation,
net.automatalib.automata.vpda.OneSEVPA<L2,JSONSymbol> currentHypothesis,
boolean computeWitnesses)
Computes the relation for the automaton, using information computed in a
previous relation.
|
static <L> ReachabilityRelation<L> |
computeReachabilityRelation(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> automaton,
boolean computeWitnesses)
Computes the relation for the automaton
|
boolean |
equals(Object obj) |
int |
hashCode() |
Iterator<C> |
iterator() |
protected void |
set(L start,
L target,
C cell) |
int |
size()
Returns the size of the relation, i.e., the number of cells in the matrix.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ReachabilityRelation<L> computePotentialValueReachabilityRelation(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> automaton, boolean computeWitnesses)
automaton
- The automatoncomputeWitnesses
- Whether to compute the witnessespublic static <L> ReachabilityRelation<L> computeReachabilityRelation(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> automaton, boolean computeWitnesses)
L
- Location typeautomaton
- The automatoncomputeWitnesses
- Whether to compute the witnessespublic static <L1,L2> ReachabilityRelation<L2> computeReachabilityRelation(net.automatalib.automata.vpda.OneSEVPA<L1,JSONSymbol> previousHypothesis, ReachabilityRelation<L1> previousReachabilityRelation, net.automatalib.automata.vpda.OneSEVPA<L2,JSONSymbol> currentHypothesis, boolean computeWitnesses)
L1
- Location type of the previous relationL2
- Location type of the new relationpreviousHypothesis
- The previous automatonpreviousReachabilityRelation
- The previous relationcurrentHypothesis
- The current automatoncomputeWitnesses
- Whether to compute the witnessespublic boolean areInRelation(L start, L target)
start
- The first locationtarget
- The second locationprotected void set(L start, L target, C cell)
public int size()
Copyright © 2022. All rights reserved.