public class DistanceTravelledScoreFunction extends AbstractScoreFunction
| Constructor and Description |
|---|
DistanceTravelledScoreFunction()
Construct a DistanceTravelledScoreFunction.
|
| Modifier and Type | Method and Description |
|---|---|
double |
score(WorldModel<? extends Entity> world,
Timestep timestep)
Calculate the score for a timestep.
|
getName, initialise, setName, toStringpublic DistanceTravelledScoreFunction()
public double score(WorldModel<? extends Entity> world, Timestep timestep)
ScoreFunctionworld - The state of the world at the end of the timestep.timestep - The record of perception, commands and changes for the timestep.