Model¶
-
public interface
Model
extends Serializable¶ The interface for model, which transitions its state as executing given actions.
Methods¶
addActions¶
getConfiguration¶
-
Configuration
getConfiguration
()¶
getHistory¶
isTerminated¶
-
boolean
isTerminated
()¶ Determine whether the current state is terminal.
Returns: True if the current state is terminal, False otherwise.
setConfiguration¶
-
void
setConfiguration
(Configuration configuration)¶
setTurnTracker¶
-
void
setTurnTracker
(TurnTracker turnTracker)¶ Add the turn tracker to moderate who can move on a given turn.
Parameters: - turnTracker –