Package search
Class Frontiers
java.lang.Object
search.Frontiers
public class Frontiers extends Object
Standard implementations of structures representing a frontier.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFrontiers.DebuggablePriorityQueue<S,N extends SearchTreeNode<N,S>>static classFrontiers.DebuggingFrontier<Node>Abstract class adding debugging hooks to the basic frontier.static classFrontiers.PriorityQueue<Node>A frontier as a priority queue, for e.g.static classFrontiers.Queue<Node>A queue as a priority queue, for e.g.static classFrontiers.StateKeyedPriorityQueue<S,N extends SearchTreeNode<N,S>> -
Constructor Summary
Constructors Constructor Description Frontiers() -
Method Summary
Modifier and Type Method Description static <State, Node extends SearchTreeNode<Node, State>>
Supplier<Frontiers.DebuggablePriorityQueue<State,Node>>debuggablePriorityQueueFactory(Comparator<Node> prioritizer)static <Node> Supplier<Frontiers.PriorityQueue<Node>>priorityQueueFactory(Comparator<Node> prioritizer)Factory for priority queue-based frontier implementations.static <Node> Supplier<Frontiers.Queue<Node>>queueFactory()static <State, Node extends SearchTreeNode<Node, State>>
Supplier<Frontiers.StateKeyedPriorityQueue<State,Node>>stateKeyedPriorityQueueFactory(Comparator<Node> prioritizer)
-
Constructor Details
-
Frontiers
public Frontiers()
-
-
Method Details
-
priorityQueueFactory
public static <Node> Supplier<Frontiers.PriorityQueue<Node>> priorityQueueFactory(Comparator<Node> prioritizer)Factory for priority queue-based frontier implementations. -
stateKeyedPriorityQueueFactory
public static <State, Node extends SearchTreeNode<Node, State>> Supplier<Frontiers.StateKeyedPriorityQueue<State,Node>> stateKeyedPriorityQueueFactory(Comparator<Node> prioritizer) -
debuggablePriorityQueueFactory
public static <State, Node extends SearchTreeNode<Node, State>> Supplier<Frontiers.DebuggablePriorityQueue<State,Node>> debuggablePriorityQueueFactory(Comparator<Node> prioritizer) -
queueFactory
-