Uses of Class
ubc.team09.state.State
Packages that use State
Package
Description
Static Game State Evaluation
Game Player
Game Tree Search
Game State Representation
User Interface
-
Uses of State in ubc.team09.eval
Methods in ubc.team09.eval with parameters of type StateModifier and TypeMethodDescriptiondoubleReturns a number in the range of (-∞, +∞) where lower values indicate a more favorable position for Black, and greater values indicate a more favorable position for White.doubledoubledouble -
Uses of State in ubc.team09.player
Methods in ubc.team09.player that return StateModifier and TypeMethodDescriptionstatic StateUtil.initialBoard()Generates the starting Amazons board state.static StateUtil.randomBoard(double arrowDensity) Generates a random Amazons boardstate.Methods in ubc.team09.player with parameters of type State -
Uses of State in ubc.team09.search
Fields in ubc.team09.search with type parameters of type StateModifier and TypeFieldDescriptionfinal Comparator<State> HistoryTable.descendingA comparator for states that orders them in descending order based on their history scores.Methods in ubc.team09.search with parameters of type StateModifier and TypeMethodDescriptionvoidvoidThe board state to search from.Constructors in ubc.team09.search with parameters of type StateModifierConstructorDescriptionAlphaBeta(State initialState, HeuristicMethod heuristic, byte maximizingPlayer) -
Uses of State in ubc.team09.state
Methods in ubc.team09.state that return StateModifier and TypeMethodDescriptionState.copy()Returns a copy of this state.StateGenerator.next()Yields the next child state.Methods in ubc.team09.state with parameters of type StateModifier and TypeMethodDescriptionbooleanBoardState.isConsistentWith(State state) Returnstrueif and only if the given state has the same occupancy board and queen positions as this object.static booleanReturnstrueif and only if a move is legal from a given board state.Constructors in ubc.team09.state with parameters of type StateModifierConstructorDescriptionCreates a new board state by applying a move to an existing one.StateGenerator(State parent) Creates a new generator to iterate over the children of a given game state. -
Uses of State in ubc.team09.view
Methods in ubc.team09.view with parameters of type StateModifier and TypeMethodDescriptionstatic voidDisplay.printBoard(State state, String label) Prints a board state to the console.static voidDisplay.printBoard(State state, String label, String blackName, String whiteName) Prints a board state to the console.