-
- Type Parameters:
S- (hypothesis) state typeI- input alphabet typeO- output alphabet type
- All Superinterfaces:
net.automatalib.automaton.concept.FiniteRepresentation,net.automatalib.graph.Graph<ADTNode<S,I,O>,ADTNode<S,I,O>>,net.automatalib.graph.IndefiniteGraph<ADTNode<S,I,O>,ADTNode<S,I,O>>,net.automatalib.graph.IndefiniteSimpleGraph<ADTNode<S,I,O>>,Iterable<ADTNode<S,I,O>>,net.automatalib.graph.ads.RecursiveADSNode<S,I,O,ADTNode<S,I,O>>,net.automatalib.graph.SimpleGraph<ADTNode<S,I,O>>
- All Known Implementing Classes:
ADTLeafNode,ADTResetNode,ADTSymbolNode
public interface ADTNode<S,I,O> extends net.automatalib.graph.ads.RecursiveADSNode<S,I,O,ADTNode<S,I,O>>
The ADT equivalent ofADSNode. In contrast to regular adaptive distinguishing sequences, an ADT node may also represent a reset node that semantically separates multiple ADSs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classADTNode.NodeTypeUtility enum to distinguish the 3 possible types of ADT nodes.-
Nested classes/interfaces inherited from interface net.automatalib.graph.Graph
net.automatalib.graph.Graph.IntAbstraction<E extends Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ADTNode<S,I,O>getChild(O output)Convenience method for directly accessing this node'schildren.default Collection<ADTNode<S,I,O>>getNodes()ADTNode.NodeTypegetNodeType()Returns the node type of the current node.default net.automatalib.visualization.VisualizationHelper<ADTNode<S,I,O>,ADTNode<S,I,O>>getVisualizationHelper()default booleanisLeaf()-
Methods inherited from interface net.automatalib.graph.Graph
getAdjacentNodes, getOutgoingEdgesIterator
-
Methods inherited from interface net.automatalib.graph.IndefiniteGraph
getAdjacentNodesIterator, getEdgesBetween
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getChild
default ADTNode<S,I,O> getChild(O output)
Convenience method for directly accessing this node'schildren.- Parameters:
output- the output symbol to determine the child to returned- Returns:
- the child node that is mapped to given output. May be
null,
-
getNodes
default Collection<ADTNode<S,I,O>> getNodes()
- Specified by:
getNodesin interfacenet.automatalib.graph.SimpleGraph<S>
-
getVisualizationHelper
default net.automatalib.visualization.VisualizationHelper<ADTNode<S,I,O>,ADTNode<S,I,O>> getVisualizationHelper()
-
isLeaf
default boolean isLeaf()
-
getNodeType
ADTNode.NodeType getNodeType()
Returns the node type of the current node.- Returns:
- the node type
-
-