Uses of Class
net.royalur.rules.simple.fast.FastSimpleGame
Packages that use FastSimpleGame
Package
Description
-
Uses of FastSimpleGame in net.royalur.agent.utility
Methods in net.royalur.agent.utility with parameters of type FastSimpleGameModifier 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
Methods in net.royalur.lut with parameters of type FastSimpleGameModifier 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
Methods in net.royalur.rules.simple that return FastSimpleGame -
Uses of FastSimpleGame in net.royalur.rules.simple.fast
Methods in net.royalur.rules.simple.fast that return FastSimpleGameModifier and TypeMethodDescriptionFastSimpleGame.reversePlayers
(FastSimpleGame output) Copies the state of this game with the players swapped.Methods in net.royalur.rules.simple.fast with parameters of type FastSimpleGameModifier and TypeMethodDescriptionvoid
FastSimpleGame.copyFrom
(FastSimpleGame other) FastSimpleGame.reversePlayers
(FastSimpleGame output) Copies the state of this game with the players swapped.Method parameters in net.royalur.rules.simple.fast with type arguments of type FastSimpleGameModifier 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)