Constructor and Description |
---|
GameStateBelief(java.lang.String name,
IThoughtModel thoughtModel,
GameState gameState)
Constructor
|
Modifier and Type | Method and Description |
---|---|
float |
getTruthValue()
Returns the truth value associated with this believe as a value between
0.0 (false) and 1.0 (true)
|
public GameStateBelief(java.lang.String name, IThoughtModel thoughtModel, GameState gameState)
name
- Belief nameagentModel
- Reference to the thought model objectgameState
- Current GameStatepublic float getTruthValue()
IBelief
getTruthValue
in interface IBelief
getTruthValue
in class Belief