Package search
Class Nodes
java.lang.Object
search.Nodes
public final class Nodes extends Object
Sample implementations of search tree nodes.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Nodes.CostAndStep<S>
Helper class for search tree node expansion bundling a node and its associated cost.static class
Nodes.SimpleTreeCostNode<S>
Implementation of search tree nodes with a notion of cost.static class
Nodes.SimpleTreeNode<S>
Simple implementation of search tree nodes, expecting that theExp
type argument of theNodes.SimpleCoreTreeNode
will be just the search state type.static class
Nodes.SimpleTreePathCostNode<S>
Implementation of search tree nodes which have a notion of cost, and which contain links to their parent node.static class
Nodes.SimpleTreePathNode<S>
Implementation of search tree nodes which retain a link to their parent. -
Constructor Summary
Constructors Constructor Description Nodes()
-
Method Summary
Modifier and Type Method Description static <S, N extends SearchTreeNode<N, S>>
Function<N,Double>liftHeuristic(Function<S,Double> hs)
-
Constructor Details
-
Nodes
public Nodes()
-
-
Method Details
-
liftHeuristic
public static <S, N extends SearchTreeNode<N, S>> Function<N,Double> liftHeuristic(Function<S,Double> hs)
-