|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISearch
Defines methods required by search algorithms.
| Method Summary | |
|---|---|
void |
configure(Properties properties,
int index)
Configure this search. |
int |
getNodesVisitedCount()
Return the nodes visited count. |
void |
reset()
Reset this search. |
IAction |
search(IAgent agent,
IAgent opponent,
IEnvironment environment,
IAdjudicator adjudicator,
IEvaluator evaluator,
IActionGenerator actionGenerator,
int maxDepth,
int depth)
Perform a search using the given parameters. |
| Method Detail |
|---|
void configure(Properties properties,
int index)
throws InstantiationException,
IllegalAccessException
properties - Properties.index - Index of the agent to which this search belongs.
InstantiationException - if the specified
ITranspositionKeyCreator cannot
be instantiated.
IllegalAccessException - if the specified
ITranspositionKeyCreator class or
its no-arg constructor cannot be
accessed.int getNodesVisitedCount()
void reset()
IAction search(IAgent agent,
IAgent opponent,
IEnvironment environment,
IAdjudicator adjudicator,
IEvaluator evaluator,
IActionGenerator actionGenerator,
int maxDepth,
int depth)
agent - Agent.opponent - Opposing agent.environment - Environment.adjudicator - Adjudicator.evaluator - Evaluator.actionGenerator - Action generator.maxDepth - Maximum depth of search.depth - Current depth of search.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |