Package search

Class Nodes.SimpleTreeNode<S>

java.lang.Object
search.Nodes.SimpleTreeNode<S>
Type Parameters:
S - The type of the search state underlying these nodes.
All Implemented Interfaces:
SearchTreeNode<Nodes.SimpleTreeNode<S>,​S>
Enclosing class:
Nodes

public static class Nodes.SimpleTreeNode<S>
extends Object
Simple implementation of search tree nodes, expecting that the Exp type argument of the Nodes.SimpleCoreTreeNode will be just the search state type.
  • Constructor Details

    • SimpleTreeNode

      public SimpleTreeNode​(Function<S,​Iterable<S>> expander, S state)
      Sole constructor for this class.
      Parameters:
      expander - Function from the underlying state to an iterable collection of information leading to expanded nodes.
      state - The state underlying this node.
  • Method Details