Changeset 12407 for branches/TerminationCriteria/HeuristicLab.Termination/3.3/ExecutionTimeTerminator.cs
- Timestamp:
- 05/28/15 09:47:23 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TerminationCriteria/HeuristicLab.Termination/3.3/ExecutionTimeTerminator.cs
r12405 r12407 51 51 } 52 52 53 protected override bool Check Termination() {53 protected override bool CheckContinueCriterion() { 54 54 var max = ThresholdParameter.Value.Value; 55 55 56 return executable.ExecutionTime >max;56 return executable.ExecutionTime < max; 57 57 } 58 58 59 59 public override string ToString() { 60 60 if (Threshold == null) return Name; 61 else return string.Format("{0} {1} {2}", Name, " >", ThresholdParameter.Value);61 else return string.Format("{0} {1} {2}", Name, "<", ThresholdParameter.Value); 62 62 } 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.