|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class that implements the Dame interface is responsible for identifying dame points. It is expected that this module will be most useful in the endgame, so it does not need to perform complex analysis during the fuseki or middle game to try to figure out which groups are alive in identifying dame points. In the endgame, it will need to deal with issues such as not filling in points which are involved in a seki. Points which are shared as part of a seki and cannot be filled in are considered to be dame points.
Method Summary | |
boolean |
canPointBePlayed(Point pt)
Determine if a dame point can be played. |
Set |
getDamePoints()
Get all points which are dame points. |
boolean |
isDamePoint(Point pt)
Determine if the given point is a dame point. |
Methods inherited from interface org.moyoman.module.ModuleInterface |
clone, getMoves, getScheduler |
Method Detail |
public Set getDamePoints()
public boolean canPointBePlayed(Point pt) throws IllegalArgumentException
pt
- The dame point in question.
IllegalArgumentException
- Thrown if the
point is not a dame point.public boolean isDamePoint(Point pt)
pt
- The point in question.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |