|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdam.Node
public class Node
class Main
Field Summary | |
---|---|
static int |
N
|
Constructor Summary | |
---|---|
Node(int[] position)
Constructor |
|
Node(Node node)
Constructor 2 |
Method Summary | |
---|---|
boolean |
isEnd()
boolean isEnd() |
Node |
selectBest()
Node selectBest() Selects one of the best moves |
java.lang.String |
toString()
String toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int N
Constructor Detail |
---|
public Node(int[] position)
position
- chessboardprev
- previous nodepublic Node(Node node)
node
- actual nodeprev
- previous nodeMethod Detail |
---|
public Node selectBest()
java.lang.Exception
public boolean isEnd()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |