|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OnlineSearchProblem<K extends AgentAction,S extends AgentState>
A formal description of the information available to an online search agent.
In an online search problem, we assume the agent has less information available than in an ordinary SearchProblem.
Method Summary | |
---|---|
java.util.List<K> |
actions(S theState)
Returns a list of actions allowed in the given state. |
boolean |
goalTest(S theState)
Determines whether a given state is a goal state. |
double |
stepCost(S firstState,
K theAction,
S resultingState)
Determines the cost of taking the given action to go from the first to the second state. |
Method Detail |
---|
java.util.List<K> actions(S theState)
boolean goalTest(S theState)
theState
-
double stepCost(S firstState, K theAction, S resultingState)
Step costs are assumed to be nonnegative.
firstState
- theAction
- resultingState
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |