Constructor and Description |
---|
TemperatureHot(IThoughtModel thoughtModel,
double warm,
double hot)
Default 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 TemperatureHot(IThoughtModel thoughtModel, double warm, double hot)
agentModel
- Reference to the thought model objectwarm
- temperature above which we consider the temperature to be too
warm to playhot
- temperature above which we shut off motors completelypublic float getTruthValue()
IBelief
getTruthValue
in interface IBelief
getTruthValue
in class Belief