Class GraphHeuristic.MaxGraphHeuristic
java.lang.Object
edu.uky.cs.nil.sabre.prog.GraphHeuristic
edu.uky.cs.nil.sabre.prog.GraphHeuristic.MaxGraphHeuristic
- All Implemented Interfaces:
ProgressionCost
- Direct Known Subclasses:
GraphHeuristic.AdmissibleMaxGraphHeuristic, ReachabilityHeuristic, RelaxedPlanHeuristic
- Enclosing class:
GraphHeuristic
A
progression cost function that uses a max heuristic graph.- Author:
- Stephen G. Ware
-
Nested Class Summary
Nested classes/interfaces inherited from class GraphHeuristic
GraphHeuristic.AdmissibleMaxGraphHeuristic, GraphHeuristic.MaxGraphHeuristic, GraphHeuristic.SumGraphHeuristic -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MaxGraphThe max heuristic graph used by this cost functionFields inherited from class GraphHeuristic
MAX, SUMFields inherited from interface ProgressionCost
EXPLANATION, PLAN_SIZE, TEMPORAL, ZERO -
Constructor Summary
ConstructorsConstructorDescriptionMaxGraphHeuristic(CompiledProblem problem, Worker.Status status) Constructs a new max graph heuristic and its max graph.MaxGraphHeuristic(MaxGraph graph) Constructs a new max graph heuristic from a given max graph. -
Method Summary
Methods inherited from class GraphHeuristic
evaluate, evaluateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ProgressionCost
initialize
-
Field Details
-
graph
The max heuristic graph used by this cost function
-
-
Constructor Details
-
MaxGraphHeuristic
Constructs a new max graph heuristic from a given max graph.- Parameters:
graph- the max graph to use for calculating costs
-
MaxGraphHeuristic
Constructs a new max graph heuristic and its max graph.- Parameters:
problem- that problem for which this heuristic will approximate costsstatus- a status to update while building the max graph
-
-
Method Details
-
toString
-