private static double calcRatio(Checkpoint <Type> checkpoint, TimeAndReward currentTimeAndReward)
 {
     return((currentTimeAndReward.reward - checkpoint.timeAndReward.reward) / (currentTimeAndReward.time - checkpoint.timeAndReward.time));
 }
 private void undoAllPolicyModificationsSinceCheckpoint(Checkpoint <Type> checkpoint)
 {
     checkpointAction.undoAllPolicyModifications(checkpoint.data);
 }