ai.planning
Interface Planner<A>

Type Parameters:
A - the class for atomic elements in a state
All Known Implementing Classes:
ForwardSearchPlanner

public interface Planner<A>

This interface represents a planner that can find solutions to planning problems. Usually, the Problem will have to be given to the Planner at construction time.

Author:
Gerhard Wickler

Method Summary
 Plan<A> doPlanSearch()
           This function will search for a solution to the given planning Problem.
 

Method Detail

doPlanSearch

Plan<A> doPlanSearch()

This function will search for a solution to the given planning Problem. If a solution is found, it will be returned. Calling doPlanSearch again may continue the search to find another solution plan. When no more plans can be found the function will return null.

Returns:
the next plan found (or null for no more plans)