Package search

Class Nodes.SimpleTreeCostNode<S>

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

public static class Nodes.SimpleTreeCostNode<S>
extends Object
Implementation of search tree nodes with a notion of cost.
  • Constructor Details

    • SimpleTreeCostNode

      public SimpleTreeCostNode​(Function<S,​Iterable<Nodes.CostAndStep<S>>> expander, double cost, S state)
      Sole constructor for this class.
      Parameters:
      expander - Function from a state to (cost,state)-bundles of information for the construction of expanded nodes.
      cost - Cost associated with this node.
      state - The state underlying this node.
  • Method Details