public interface IPathfinder
Modifier and Type | Method and Description |
---|---|
SolutionTrajectory |
getBestTrajectoryCheaply(Solution s,
IState solutionState,
IStateCoderFactory stateCoderFactory)
Checks the underlying data structure to see if there is a better route to this solution than the currently known
best trajectory.
|
SolutionTrajectory |
getBestTrajectoryCostly(Solution s,
IState solutionState,
IStateCoderFactory stateCoderFactory)
Checks the underlying data structure and updates it to see if there is a better route to this solution than the
currently known best trajectory.
|
SolutionTrajectory getBestTrajectoryCheaply(Solution s, IState solutionState, IStateCoderFactory stateCoderFactory)
s
- SolutionTrajectory getBestTrajectoryCostly(Solution s, IState solutionState, IStateCoderFactory stateCoderFactory)
s
- the Solution
object we wish to update.SolutionTrajectory
that represents the best trajectory we discovered so far.