|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.lenhardt.game.Position
sk.lenhardt.sum.OrdinarySumPosition
public class OrdinarySumPosition
| Field Summary | |
|---|---|
Position |
a
|
Position |
b
|
| Constructor Summary | |
|---|---|
OrdinarySumPosition(Position a,
Position b)
Creates a new instance of OrdinarySumPosition |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
Position[] |
getAllPossibleMoves()
|
int |
getGrundyNumber()
|
int |
hashCode()
|
boolean |
isFinal()
|
boolean |
isLosing()
|
| Methods inherited from class sk.lenhardt.game.Position |
|---|
draw, getRemoteness, getSuspense, getWTIANumber, isWinning |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Position a
public Position b
| Constructor Detail |
|---|
public OrdinarySumPosition(Position a,
Position b)
| Method Detail |
|---|
public Position[] getAllPossibleMoves()
getAllPossibleMoves in class Positionpublic int getGrundyNumber()
getGrundyNumber in class Positionpublic boolean isLosing()
isLosing in class Positionpublic boolean isFinal()
isFinal in class Positionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||