Package ec.util

Class Checkpoint

java.lang.Object
ec.util.Checkpoint

public class Checkpoint extends Object
Checkpoints ec.EvolutionState objects out to checkpoint files, or restores the same from checkpoint files. Checkpoint take the following form:

checkpointPrefix.generation.gz

...where checkpointPrefix is the checkpoing prefix given in ec.EvolutionState, and generation is the current generation number also given in ec.EvolutionState. The ".gz" is added because the file is GZIPped to save space.

When writing a checkpoint file, if you have specified a checkpoint directory in ec.EvolutionState.checkpointDirectory, then this directory will be used to write the checkpoint files. Otherwise they will be written in your working directory (where you ran the Java process).

  • Constructor Details

    • Checkpoint

      public Checkpoint()
  • Method Details