public class DiscoveryScoreFunction extends AbstractScoreFunction
Constructor and Description |
---|
DiscoveryScoreFunction()
Construct a DiscoveryScoreFunction.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getName, setName, toString
public DiscoveryScoreFunction()
public void initialise(WorldModel<? extends Entity> world, Config config)
ScoreFunction
initialise
in interface ScoreFunction
initialise
in class AbstractScoreFunction
world
- The state of the world at the start of the simulation.config
- The system configuration.public double score(WorldModel<? extends Entity> world, Timestep timestep)
ScoreFunction
world
- The state of the world at the end of the timestep.timestep
- The record of perception, commands and changes for the timestep.