L
- Location typepublic class OnAcceptingPathRelation<L> extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
areInRelation(L start,
L target)
Tests whether the two locations are in relation.
|
static <L1,L2> OnAcceptingPathRelation<L2> |
computeRelation(net.automatalib.automata.vpda.OneSEVPA<L1,JSONSymbol> previousHypothesis,
OnAcceptingPathRelation<L1> previousRelation,
net.automatalib.automata.vpda.OneSEVPA<L2,JSONSymbol> currentHypothesis,
ReachabilityRelation<L2> reachabilityRelation,
boolean computeWitnesses)
Computes the relation, using the previously computed relation.
|
static <L> OnAcceptingPathRelation<L> |
computeRelation(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> automaton,
ReachabilityRelation<L> reachabilityRelation,
boolean computeWitnesses)
Computes the relation from the provided automaton, and its reachability
relation.
|
boolean |
equals(Object obj) |
net.automatalib.words.Word<JSONSymbol> |
getWitnessFromIntermediate(L intermediate)
Gets the witness from the provided intermediate location to an accepting
location, if it belongs to the relation.
|
net.automatalib.words.Word<JSONSymbol> |
getWitnessToIntermediate(L intermediate)
Gets the witness from the initial location to the provided intermediate
location, if it belongs to the relation.
|
int |
hashCode() |
L |
identifyBinLocation(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> automaton)
Identifies the bin location in the automaton
|
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
@Nullable public net.automatalib.words.Word<JSONSymbol> getWitnessToIntermediate(L intermediate)
intermediate
- The intermediate location@Nullable public net.automatalib.words.Word<JSONSymbol> getWitnessFromIntermediate(L intermediate)
intermediate
- The intermediate locationpublic L identifyBinLocation(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> automaton)
automaton
- The automatonpublic static <L1,L2> OnAcceptingPathRelation<L2> computeRelation(net.automatalib.automata.vpda.OneSEVPA<L1,JSONSymbol> previousHypothesis, OnAcceptingPathRelation<L1> previousRelation, net.automatalib.automata.vpda.OneSEVPA<L2,JSONSymbol> currentHypothesis, ReachabilityRelation<L2> reachabilityRelation, boolean computeWitnesses)
L1
- Location type of the previous relationL2
- Location type of the current relationpreviousHypothesis
- The previous hypothesispreviousRelation
- The previous relationcurrentHypothesis
- The current hypothesisreachabilityRelation
- The reachability relationcomputeWitnesses
- Whether to compute the witnessespublic static <L> OnAcceptingPathRelation<L> computeRelation(net.automatalib.automata.vpda.OneSEVPA<L,JSONSymbol> automaton, ReachabilityRelation<L> reachabilityRelation, boolean computeWitnesses)
L
- Location typeautomaton
- The automatonreachabilityRelation
- The reachability relationcomputeWitnesses
- 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.