|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of IGameNode in org.eclipse.palamedes.gdl.core.model |
---|
Methods in org.eclipse.palamedes.gdl.core.model that return IGameNode | |
---|---|
IGameNode |
IGameTree.addChild(IGameNode parent,
IGameState child,
IMove[] moves)
Adds a new state to the tree and returns the new generated node. |
IGameNode |
IGameTree.getNextNode(IGameNode parent,
IMove[] moves)
Returns the child game node of a parent which was derived through moves. |
IGameNode |
IGame.getNextNode(IGameNode currentNode,
IMove[] moves)
Returns the child node of the parent that is connected through the specified moves. |
IGameNode |
IGameNode.getParent()
Returns the parent node or null if none exist. |
IGameNode |
IGameTree.getRootNode()
Returns the root node of the game tree. |
Methods in org.eclipse.palamedes.gdl.core.model with parameters of type IGameNode | |
---|---|
IGameNode |
IGameTree.addChild(IGameNode parent,
IGameState child,
IMove[] moves)
Adds a new state to the tree and returns the new generated node. |
java.util.List<IMove[]> |
IGame.getCombinedMoves(IGameNode currentNode)
Returns a list of all moves combined. |
int[] |
IGame.getGoalValues(IGameNode currentNode)
Returns an array of the goal values of all players. |
IMove[][] |
IGame.getLegalMoves(IGameNode currentNode)
Returns an array of the legal moves of each player. |
IGameNode |
IGameTree.getNextNode(IGameNode parent,
IMove[] moves)
Returns the child game node of a parent which was derived through moves. |
IGameNode |
IGame.getNextNode(IGameNode currentNode,
IMove[] moves)
Returns the child node of the parent that is connected through the specified moves. |
int |
IGame.getPerftValue(int n,
IGameNode startNode)
Returns the perft(n) value starting from the given startNode. |
IMove[] |
IGame.getRandomMove(IGameNode currentNode)
Returns a random combined move. |
IGameState |
IGame.getState(IGameNode currentNode)
Returns the game state associated with currentNode. |
boolean |
IGame.isTerminal(IGameNode currentNode)
Returns true if the state of the node is a terminal state |
void |
IGame.regenerateNode(IGameNode node)
This method regenerates the game states if the game node lost its state information for one reason or another. |
Uses of IGameNode in org.eclipse.palamedes.gdl.core.model.utils |
---|
Classes in org.eclipse.palamedes.gdl.core.model.utils that implement IGameNode | |
---|---|
class |
GameNode
|
Fields in org.eclipse.palamedes.gdl.core.model.utils declared as IGameNode | |
---|---|
protected IGameNode |
Game.initNode
|
Fields in org.eclipse.palamedes.gdl.core.model.utils with type parameters of type IGameNode | |
---|---|
java.util.HashMap<java.lang.Integer,IGameNode> |
GameNodeTree.hash2Node
Mapping: GameNode.hashCode -> GameNode |
java.util.HashMap<IGameNode,java.util.List<IGameNode>> |
GameNodeTree.structure
Mapping ParentNode -> [ChildNode]* |
java.util.HashMap<IGameNode,java.util.List<IGameNode>> |
GameNodeTree.structure
Mapping ParentNode -> [ChildNode]* |
Methods in org.eclipse.palamedes.gdl.core.model.utils that return IGameNode | |
---|---|
IGameNode |
GameNodeTree.addChild(IGameNode parent,
IGameState child,
IMove[] moves)
This method adds a child to a parent. |
IGameNode |
Game.getInitialNode()
|
IGameNode |
Game.getNextNode(IGameNode currentNode,
IMove[] moves)
|
IGameNode |
GameNodeTree.getNextNode(IGameNode parent,
IMove[] moves)
|
IGameNode |
GameNode.getParent()
|
IGameNode |
GameNodeTree.getRootNode()
|
Methods in org.eclipse.palamedes.gdl.core.model.utils with parameters of type IGameNode | |
---|---|
IGameNode |
GameNodeTree.addChild(IGameNode parent,
IGameState child,
IMove[] moves)
This method adds a child to a parent. |
java.util.List<IMove[]> |
Game.getCombinedMoves(IGameNode currentNode)
|
int[] |
Game.getGoalValues(IGameNode currentNode)
|
IMove[][] |
Game.getLegalMoves(IGameNode currentNode)
|
IGameNode |
Game.getNextNode(IGameNode currentNode,
IMove[] moves)
|
IGameNode |
GameNodeTree.getNextNode(IGameNode parent,
IMove[] moves)
|
int |
Game.getPerftValue(int depth,
IGameNode startNode)
|
IMove[] |
Game.getRandomMove(IGameNode currentNode)
|
IGameState |
Game.getState(IGameNode currentNode)
|
boolean |
Game.isTerminal(IGameNode currentNode)
|
void |
Game.regenerateNode(IGameNode node)
|
void |
GameNodeTree.removeAllSiblingTrees(IGameNode node)
|
static java.lang.String |
Game.showGameNodePath(IGameNode node)
|
Constructors in org.eclipse.palamedes.gdl.core.model.utils with parameters of type IGameNode | |
---|---|
GameNode(IGameNode parent,
IGameState state,
IMove[] moves)
|
Uses of IGameNode in org.eclipse.palamedes.gdl.core.simulation |
---|
Methods in org.eclipse.palamedes.gdl.core.simulation that return IGameNode | |
---|---|
IGameNode |
Match.getCurrentNode()
|
Methods in org.eclipse.palamedes.gdl.core.simulation that return types with arguments of type IGameNode | |
---|---|
java.util.List<IGameNode> |
Match.getHistory()
|
java.util.List<IGameNode> |
SimulatorIntern.getNodeHistory()
|
Methods in org.eclipse.palamedes.gdl.core.simulation with parameters of type IGameNode | |
---|---|
double |
IStrategy.getHeuristicValue(IGameNode node)
Returns a value for the game node that can be used by a heuristic to evaluate the game node. |
IMove |
IStrategy.getMove(IGameNode currentNode)
|
void |
Match.setCurrentNode(IGameNode newNode)
|
void |
SimulatorIntern.setCurrentNode(IGameNode currentNode)
|
void |
Simulator.setCurrentNode(IGameNode currentNode)
|
Constructors in org.eclipse.palamedes.gdl.core.simulation with parameters of type IGameNode | |
---|---|
Match(IGame game,
IStrategy strategy,
java.lang.String role,
int tStart,
int tPlay,
IGameNode startNode)
|
Uses of IGameNode in org.eclipse.palamedes.gdl.core.simulation.strategies |
---|
Methods in org.eclipse.palamedes.gdl.core.simulation.strategies with parameters of type IGameNode | |
---|---|
double |
AbstractStrategy.getHeuristicValue(IGameNode node)
|
IMove |
SDFS.getMove(IGameNode currentNode)
|
IMove |
SMonteCarloUCT.getMove(IGameNode currentNode)
|
IMove |
SMonteCarlo.getMove(IGameNode currentNode)
|
IMove |
SRandom.getMove(IGameNode currentNode)
|
abstract IMove |
AbstractStrategy.getMove(IGameNode currentNode)
|
Constructors in org.eclipse.palamedes.gdl.core.simulation.strategies with parameters of type IGameNode | |
---|---|
FringeFrame(IGameNode gameNode)
|
Uses of IGameNode in org.eclipse.palamedes.ui.utils |
---|
Methods in org.eclipse.palamedes.ui.utils with parameters of type IGameNode | |
---|---|
static java.lang.String |
SFactory.toString(IGameNode node)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |