My Project
Loading...
Searching...
No Matches
Public Member Functions | List of all members
IShortestPath< State, Action > Interface Template Reference

Interface for a shortest path problem. More...

Public Member Functions

float Heuristic (State fromLocation, State toLocation)
 Should return a estimate of shortest distance. The estimate must me admissible (never overestimate)
 
List< Action > Expand (State position)
 Return the legal moves from a state.
 
float ActualCost (State fromLocation, Action action)
 Return the actual cost between two adjecent locations.
 
State ApplyAction (State location, Action action)
 Returns the new state after an action has been applied.
 

Detailed Description

Interface for a shortest path problem.


The documentation for this interface was generated from the following file: