Uses of Class
net.royalur.rules.simple.fast.FastSimpleGame
Package
Description
-
Uses of FastSimpleGame in net.royalur.agent.utility
Modifier and TypeMethodDescriptionfloat
UtilityFunction.scoreGame
(FastSimpleGame game) Scores the state of the game numerically, where a positive value represents that the current player is advantaged, and a negative value represents that the waiting player is advantaged.float
PiecesAdvancedUtilityFn.scoreGameStateForLight
(FastSimpleGame game) abstract float
UtilityFunction.scoreGameStateForLight
(FastSimpleGame game) Scores the state of the game numerically, where a positive value represents that light is advantaged, and a negative value represents that dark is advantaged. -
Uses of FastSimpleGame in net.royalur.lut
Modifier and TypeMethodDescriptionlong
FinkelGameStateEncoding.encodeGameState
(FastSimpleGame game) long
GameStateEncoding.encodeGameState
(FastSimpleGame game) Encode the given game state to a binary key.long
SimpleGameStateEncoding.encodeGameState
(FastSimpleGame game) default long
GameStateEncoding.encodeSymmetricalGameState
(FastSimpleGame game, FastSimpleGame tempGame) Encode the given game state to a binary key that is always encoded as the light player.double
Lut.getLightWinPercent
(FastSimpleGame game) Assumes that the game is using symmetrical paths.double
Lut.getLightWinPercent
(FastSimpleGame game, FastSimpleGame tempGame) Assumes that the game is using symmetrical paths.double
Lut.updateLightWinPercent
(FastSimpleGame game, double winPercent) -
Uses of FastSimpleGame in net.royalur.rules.simple
-
Uses of FastSimpleGame in net.royalur.rules.simple.fast
Modifier and TypeMethodDescriptionFastSimpleGame.reversePlayers
(FastSimpleGame output) Copies the state of this game with the players swapped.Modifier and TypeMethodDescriptionvoid
FastSimpleGame.copyFrom
(FastSimpleGame other) FastSimpleGame.reversePlayers
(FastSimpleGame output) Copies the state of this game with the players swapped.Modifier and TypeMethodDescriptionint
FastSimpleFlags.countStates
(Function<FastSimpleGame, Boolean> gameFilter) void
FastSimpleFlags.loopLightGameStates
(Consumer<FastSimpleGame> gameConsumer) Only loops through game states where it is light's turn.void
FastSimpleFlags.loopLightGameStatesAndNeighbours
(BiConsumer<FastSimpleGame, Collection<FastSimpleGame>> consumer) void
FastSimpleFlags.loopLightGameStatesAndNeighbours
(BiConsumer<FastSimpleGame, Collection<FastSimpleGame>> consumer)