|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Modules that implement this interface will perform the task of finding the location and size of territories during the course of a game. This includes tasks such as determining which points are in which territories, the likely size of a territory, moves which would enlarge or reduce territories, and the error in the estimation.
Field Summary | |
static SingleTerritory |
NO_TERRITORY
A marker which indicates that there is no territory. |
Method Summary | |
float |
getFriendlyCount()
Get the total amount of territory for the side to play. |
float |
getOpponentCount()
Get the total amount of territory for the opponent of the side to play. |
SingleTerritory[] |
getSingleTerritories()
Get all of the SingleTerritory objects. |
SingleTerritory[] |
getSingleTerritories(Stone stone)
Get the SingleTerritory objects for this stone. |
SingleTerritory |
getSingleTerritory(Point point)
Get the SingleTerritory object for which this empty point is part. |
Methods inherited from interface org.moyoman.module.ModuleInterface |
clone, getMoves, getScheduler |
Field Detail |
public static final SingleTerritory NO_TERRITORY
Method Detail |
public SingleTerritory[] getSingleTerritories(Stone stone)
stone
- The stone which is surrounding territory.
public SingleTerritory getSingleTerritory(Point point)
point
- The point which is part of a territory.
public SingleTerritory[] getSingleTerritories()
public float getFriendlyCount()
public float getOpponentCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |