find_path
Description:
public List
<
int
>
find_path (
WorldState start_state,
WorldState target_state,
List
<
int
> excluded =
new List
(),
bool
resolving_target =
false)
Finds a chain of schemas connecting two world states. If executed in order this should result in the system achieving the target state.
The path most likely to succeed is selected.
Parameters:
excluded |
A list of schema IDs to exclude being from potential paths. |
startState |
A WorldState specifying the starting conditions. |
targetState |
A WorldState specifying the desired end conditions. |
Returns:
A list of schema IDs in order of execution. |