Package nl.uu.cs.aplib.exampleUsages
Class GuessNumberGame.MyAgentState
java.lang.Object
nl.uu.cs.aplib.mainConcepts.SimpleState
nl.uu.cs.aplib.exampleUsages.GuessNumberGame.MyAgentState
- Enclosing class:
- GuessNumberGame
We define a custom agent-state to keep track which numbers it knows for sure
cannot be the user's magic number.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class nl.uu.cs.aplib.mainConcepts.SimpleState
log, owner, setEnvironment, updateState
-
Field Details
-
rnd
Random rnd -
excluded
boolean[] excluded
-
-
Constructor Details
-
MyAgentState
public MyAgentState()
-
-
Method Details
-
getPossibilities
-
env
Description copied from class:SimpleState
Return theEnvironment
associated with the state.- Overrides:
env
in classSimpleState
-