Class EnforcedExplorationOpenSelection<N,A,V extends java.lang.Comparable<V>>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractQueue<E>
-
- java.util.PriorityQueue<BackPointerPath<N,A,V>>
-
- ai.libs.jaicore.search.algorithms.standard.opencollections.EnforcedExplorationOpenSelection<N,A,V>
-
- Type Parameters:
N
-V
-W
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<BackPointerPath<N,A,V>>
,java.util.Collection<BackPointerPath<N,A,V>>
,java.util.Queue<BackPointerPath<N,A,V>>
public class EnforcedExplorationOpenSelection<N,A,V extends java.lang.Comparable<V>> extends java.util.PriorityQueue<BackPointerPath<N,A,V>>
This OPEN selection allows to enforce that the search is restricted to be searched under a given node- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnforcedExplorationOpenSelection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackPointerPath<N,A,V>
getTemporaryRoot()
void
setTemporaryRoot(BackPointerPath<N,A,V> temporaryRoot)
Set the temporary root under which the search should explore.-
Methods inherited from class java.util.PriorityQueue
add, clear, comparator, contains, forEach, iterator, offer, peek, poll, remove, removeAll, removeIf, retainAll, size, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
setTemporaryRoot
public void setTemporaryRoot(BackPointerPath<N,A,V> temporaryRoot)
Set the temporary root under which the search should explore. This means to decide for each node on OPEN or SUSPENDED again whether they are under the new temporary root- Parameters:
temporaryRoot
-
-
getTemporaryRoot
public BackPointerPath<N,A,V> getTemporaryRoot()
-
-