Package net.automatalib.graph.ads
Class AbstractRecursiveADSLeafNode<S,I,O,N extends RecursiveADSNode<S,I,O,N>>
- java.lang.Object
-
- net.automatalib.graph.ads.AbstractRecursiveADSLeafNode<S,I,O,N>
-
- Type Parameters:
S- (hypothesis) state typeI- input alphabet typeO- output alphabet typeN- the concrete node type
- All Implemented Interfaces:
Iterable<N>,FiniteRepresentation,RecursiveADSNode<S,I,O,N>,Graph<N,N>,IndefiniteGraph<N,N>,IndefiniteSimpleGraph<N>,SimpleGraph<N>
- Direct Known Subclasses:
ADSLeafNode
public abstract class AbstractRecursiveADSLeafNode<S,I,O,N extends RecursiveADSNode<S,I,O,N>> extends Object implements RecursiveADSNode<S,I,O,N>
An abstract implementation of a leaf node, that may be used by other ADS-extending classes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.automatalib.graph.Graph
Graph.IntAbstraction<E extends Object>
-
-
Constructor Summary
Constructors Constructor Description AbstractRecursiveADSLeafNode(@Nullable N parent, S hypothesisState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<O,N>getChildren()SgetHypothesisState()@Nullable NgetParent()@Nullable IgetSymbol()booleanisLeaf()voidsetHypothesisState(S state)voidsetParent(@Nullable N parent)voidsetSymbol(I symbol)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.automatalib.graph.Graph
getAdjacentNodes, getOutgoingEdgesIterator
-
Methods inherited from interface net.automatalib.graph.IndefiniteGraph
getAdjacentNodesIterator, getEdgesBetween
-
Methods inherited from interface net.automatalib.graph.IndefiniteSimpleGraph
createDynamicNodeMapping, createStaticNodeMapping, isConnected
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface net.automatalib.graph.ads.RecursiveADSNode
getNodesForRoot, getOutgoingEdges, getTarget, getVisualizationHelper
-
Methods inherited from interface net.automatalib.graph.SimpleGraph
getNodes, iterator, nodeIDs, size
-
-
-
-
Method Detail
-
setSymbol
public void setSymbol(I symbol)
-
getChildren
public Map<O,N> getChildren()
- Specified by:
getChildrenin interfaceRecursiveADSNode<S,I,O,N extends RecursiveADSNode<S,I,O,N>>
-
isLeaf
public boolean isLeaf()
-
getHypothesisState
public S getHypothesisState()
- Specified by:
getHypothesisStatein interfaceRecursiveADSNode<S,I,O,N extends RecursiveADSNode<S,I,O,N>>
-
setHypothesisState
public void setHypothesisState(S state)
- Specified by:
setHypothesisStatein interfaceRecursiveADSNode<S,I,O,N extends RecursiveADSNode<S,I,O,N>>
-
-