Module de.learnlib.algorithm.lsharp
Package de.learnlib.algorithm.lsharp.ads
Class ADSTree<S extends Comparable<S>,I,O>
java.lang.Object
de.learnlib.algorithm.lsharp.ads.ADSTree<S,I,O>
- All Implemented Interfaces:
ADS<I,O>
-
Constructor Summary
ConstructorsConstructorDescriptionADSTree(ObservationTree<S, I, O> tree, Collection<S> currentBlock, @Nullable O sinkOut) -
Method Summary
Modifier and TypeMethodDescriptionstatic <S extends Comparable<S>,I, O>
Pair<Integer,Pair<O, ADSNode<I, O>>> computeOSubtree(ObservationTree<S, I, O> tree, O o, List<S> oPart, @Nullable O sinkOut, int ui) static <S extends Comparable<S>,I, O>
ADSNode<I,O> constructADS(ObservationTree<S, I, O> tree, Collection<S> currentBlock, @Nullable O sinkOut) intgetScore()static <S extends Comparable<S>,I, O>
Pair<I,Integer> maximalBaseInput(ObservationTree<S, I, O> tree, Collection<S> currentBlock, Map<I, Pair<Integer, Integer>> splitScore) void
-
Constructor Details
-
ADSTree
-
-
Method Details
-
getScore
public int getScore() -
constructADS
public static <S extends Comparable<S>,I, ADSNode<I,O> O> constructADS(ObservationTree<S, I, O> tree, Collection<S> currentBlock, @Nullable O sinkOut) -
computeOSubtree
public static <S extends Comparable<S>,I, Pair<Integer,O> Pair<O, computeOSubtreeADSNode<I, O>>> (ObservationTree<S, I, O> tree, O o, List<S> oPart, @Nullable O sinkOut, int ui) -
maximalBaseInput
public static <S extends Comparable<S>,I, Pair<I,O> Integer> maximalBaseInput(ObservationTree<S, I, O> tree, Collection<S> currentBlock, Map<I, Pair<Integer, Integer>> splitScore) -
nextInput
-
resetToRoot
public void resetToRoot()- Specified by:
resetToRootin interfaceADS<S extends Comparable<S>,I>
-