public interface ScoreFunction
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of this score function.
|
void |
initialise(WorldModel<? extends Entity> world,
Config config)
Initialise this score function.
|
double |
score(WorldModel<? extends Entity> world,
Timestep timestep)
Calculate the score for a timestep.
|
void initialise(WorldModel<? extends Entity> world, Config config)
world
- The state of the world at the start of the simulation.config
- The system configuration.double score(WorldModel<? extends Entity> world, Timestep timestep)
world
- The state of the world at the end of the timestep.timestep
- The record of perception, commands and changes for the timestep.java.lang.String getName()