|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISearchAgent
Defines methods required by computer agents which uses an AI search algorithm to determine the best action.
| Field Summary |
|---|
| Fields inherited from interface org.vizzini.game.IAgent |
|---|
NAME_PROPERTY, TEAM_PROPERTY |
| Method Summary | |
|---|---|
void |
configure(Properties properties,
int index)
Configure this agent. |
int |
getDepth()
Return the search depth. |
int |
getNodesVisitedCount()
Return the nodes visited count. |
void |
setDepth(int depth)
Set the search depth. |
| Methods inherited from interface org.vizzini.game.IComputerAgent |
|---|
addBusyListener, evaluate, getActionGenerator, getEvaluator, isBusy, removeBusyListener |
| Methods inherited from interface org.vizzini.game.IAgent |
|---|
addConcedeListener, addPropertyChangeListener, addScoreListener, addToScore, concede, getAction, getName, getScore, getTeam, getTokenCollection, incrementScore, removeConcedeListener, removePropertyChangeListener, removeScoreListener, reset, setName, setScore, setTeam |
| Method Detail |
|---|
void configure(Properties properties,
int index)
throws InstantiationException,
IllegalAccessException
configure in interface IAgentInstantiationException
IllegalAccessExceptionint getDepth()
int getNodesVisitedCount()
void setDepth(int depth)
|
||||||||||
| 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 |