A B C D E F G H I L M N O P R S T U V W X Y 

G

Game - Class in s3games.engine
The Game class represents a single instance of game - it asks players to provide their moves, verifies if they conform with the rules and performs all the follow-up actions, including instructing the robot arm to perform the requested actions
Game(Config, GameLogger, GameWindow, Switch, Robot) - Constructor for class s3games.engine.Game
constructs a new game, saves references to the objects passed in arguments
gameFinished(int, int[]) - Method in class s3games.gui.ControllerWindow
show the information about the game that has finished
GameLogger - Class in s3games.io
Logger is used to save information about the game progress to a file
GameLogger() - Constructor for class s3games.io.GameLogger
 
gameName - Variable in class s3games.engine.GameSpecification
name of the game
GameRule - Class in s3games.engine
The GameRule class represents a single rule for game moves: from where, to where, and what can be moved, and under what circumstances, as well as what has to be done as follow-up action and how to adjust the player scores, if the rule was applied.
GameRule(String) - Constructor for class s3games.engine.GameRule
construct an empty rule with the specified name
GameScoring - Class in s3games.engine
represents the rules for updating the scores of players based on the states they reach - as contrasted to the moves they make (those score updates are contained directly in the game rules
GameScoring(Expr) - Constructor for class s3games.engine.GameScoring
construct an empty game scoring set of rules
gamesFolder - Variable in class s3games.io.Config
the place where the game specifications are located
gameSpec - Variable in class s3games.gui.BoardCanvas
reference to game specification
gameSpecification - Variable in class s3games.engine.Game
specification of the game
GameSpecification - Class in s3games.engine
The GameSpecification contains all information loaded from the game specification file.
GameSpecification(Config, GameLogger) - Constructor for class s3games.engine.GameSpecification
construct a new empty game specification
GameSpecificationParser - Class in s3games.io
The parser of the game specification file.
GameSpecificationParser(Config, GameLogger) - Constructor for class s3games.io.GameSpecificationParser
construct an empty parser
GameState - Class in s3games.engine
GameState contains all information that is important for the current game state
GameState() - Constructor for class s3games.engine.GameState
construct a new empty game state
GameState(GameSpecification, Robot) - Constructor for class s3games.engine.GameState
use this constructor to create a state corresponding to the start of game situation
GameStatistics - Class in s3games.io
This intends to hold more detailed game statistics about the games played
GameStatistics() - Constructor for class s3games.io.GameStatistics
 
GameWindow - Class in s3games.gui
Implements the window that visualizes the game progress and detects user moves as mouse clicks
GameWindow(Switch) - Constructor for class s3games.gui.GameWindow
Creates the game window and displays it
getCommand() - Method in class s3games.robot.RobotCmd
retrieve the command string
getCopy() - Method in class s3games.engine.GameState
return a copy of this state state
getCopy() - Method in class s3games.robot.RobotLocation
make a copy of this location
getExpr(String) - Method in class s3games.engine.expr.Context
the expression to which the specified expression name is mapped, or null if expressions do not contain exprName
getGameNames() - Method in class s3games.Controller
should return the list of available games, this should probably go to some external file (?)
getHeuristic(String, GameSpecification) - Static method in class s3games.ai.Heuristic
constructor method that creates a heuristic of the specified type
getHeuristicsForGame(String) - Method in class s3games.Controller
returns list of heuristics that are compatible with the specified strategy - also a place for improvement
getInt() - Method in class s3games.engine.expr.Expr
stub to be overriden by expressions that are of numeric type, otherwise throws exception
getInternalFunction(String) - Static method in class s3games.engine.expr.Expr
 
getLearnableStrategyTypesForGame(String) - Method in class s3games.Controller
returns a list of strategies that can learn to play the specified game - improve...?
getMatchingMoves(Element, GameSpecification, Context) - Method in class s3games.engine.GameRule
list of moves that can be performed from this state with the element specified in the first argument
getNumberOfNodesToExpand() - Method in class s3games.gui.ControllerWindow
retrieve the user-entered value of the maximum number of nodes to expand
getNumberOfPlayersForGame(String) - Method in class s3games.Controller
return the number of players for the specified game - should read the specs...fixit!
getOperatorType(String) - Static method in class s3games.engine.expr.Expr
convert an operator lexeme to the respective operator
getPlayer(GameSpecification) - Method in class s3games.ai.AStarStrategy
get a A* player object for the specified game
getPlayer(GameSpecification) - Method in class s3games.ai.BreadthFirstSearchStrategy
return a new BFS player for the specified game
getPlayer(GameSpecification) - Method in class s3games.ai.DepthFirstSearchStrategy
return a new DFS player for the specified game
getPlayer(GameSpecification) - Method in class s3games.ai.MiniMaxStochasticStrategy
returns a minimax stochastic player for the specified game
getPlayer(GameSpecification) - Method in class s3games.ai.MiniMaxStrategy
returns a minimax player for the specified game
getPlayer(GameSpecification) - Method in class s3games.ai.MonteCarloRatioStrategy
returns a monte carlo ratio player for the specified game
getPlayer(GameSpecification) - Method in class s3games.ai.MonteCarloRatioStrategy2
returns a monte carlo ratio2 player for the specified game
getPlayer(GameSpecification) - Method in class s3games.ai.MonteCarloStrategy
returns a monte carlo player for the specified game
getPlayer(GameSpecification) - Method in class s3games.ai.RandomGeneralStrategy
returns a random general player instance for the specified game
getPlayer(GameSpecification) - Method in class s3games.ai.Strategy
constructor method for the player of the respective strategy subclass
getRunningTime() - Method in class s3games.gui.ControllerWindow
retrieve the user-entered value of the maximum allowed time for one move
getState() - Method in class s3games.engine.expr.Context
retrieve the game sate in this context
getStatisticFileName() - Method in class s3games.gui.ControllerWindow
name of file where the game statistics should be saved into
getStr() - Method in class s3games.engine.expr.Expr
stub to be overriden by expressions that are of string type, otherwise throws exception
getStrategiesForGame(String) - Method in class s3games.Controller
returns list of strategies that can play the specified game, we should improve this architecture somehow later
getStrategy(String, Heuristic) - Static method in class s3games.ai.Strategy
get a strategy instance of the specified name
getValue() - Method in class s3games.util.Switch
retrieve the user value of this switch
getVar(String) - Method in class s3games.engine.expr.Context
the value to which the specified variable name is mapped, or null if variables do not contain var
goHome() - Method in class s3games.robot.Robot
move the arm away from the sight of the camera
goTo(double[]) - Method in class s3games.robot.Robot
moves the robot arm to the requested angles configuration, if the previous move has been completed
goToDirect(double[]) - Method in class s3games.robot.Robot
moves the robot arm to the requested angles configuration, regardless the previous move has been completed
grab() - Method in class s3games.robot.Robot
grab the element now
A B C D E F G H I L M N O P R S T U V W X Y