protected class PrioritizedSweeping.BPTRNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<PrioritizedSweeping.BPTR> |
backPointers |
double |
maxSelfTransitionProb |
double |
priority |
HashableState |
sh |
Constructor and Description |
---|
BPTRNode(HashableState sh)
Creates a back pointer for the given state with no back pointers and a priority of Double.MAX_VALUE (ensures one sweep of the state space to start)
|
Modifier and Type | Method and Description |
---|---|
void |
addBackTransition(PrioritizedSweeping.BPTRNode bptr)
Adds a backpointer transition
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
public HashableState sh
public java.util.List<PrioritizedSweeping.BPTR> backPointers
public double maxSelfTransitionProb
public double priority
public BPTRNode(HashableState sh)
sh
- the hased state for which this node will correspondpublic void addBackTransition(PrioritizedSweeping.BPTRNode bptr)
bptr
- the node that can transition to this nodepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object