Changeset 12402 for branches/TerminationCriteria/HeuristicLab.Termination/3.3/ThresholdTerminator.cs
- Timestamp:
- 05/26/15 16:15:54 (9 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/TerminationCriteria/HeuristicLab.Termination/3.3/ThresholdTerminator.cs
r12401 r12402 27 27 28 28 namespace HeuristicLab.Termination { 29 [Item("ThresholdTerminat ionCriterion", "Base class for all termination criteria which specifies some threshold.")]29 [Item("ThresholdTerminator", "Base class for all termination criteria which specifies some threshold.")] 30 30 [StorableClass] 31 public abstract class ThresholdTerminat ionCriterion<T> : TerminationCriterionwhere T : class, IItem {31 public abstract class ThresholdTerminator<T> : Terminator where T : class, IItem { 32 32 public IValueLookupParameter<T> ThresholdParameter { 33 33 get { return (IValueLookupParameter<T>)Parameters["Threshold"]; } … … 35 35 36 36 [StorableConstructor] 37 protected ThresholdTerminat ionCriterion(bool deserializing) : base(deserializing) { }37 protected ThresholdTerminator(bool deserializing) : base(deserializing) { } 38 38 [StorableHook(HookType.AfterDeserialization)] 39 39 private void AfterDeserialization() { 40 40 Initialize(); 41 41 } 42 protected ThresholdTerminat ionCriterion(ThresholdTerminationCriterion<T> original, Cloner cloner)42 protected ThresholdTerminator(ThresholdTerminator<T> original, Cloner cloner) 43 43 : base(original, cloner) { 44 44 Initialize(); 45 45 } 46 protected ThresholdTerminat ionCriterion()46 protected ThresholdTerminator() 47 47 : base() { 48 48 Parameters.Add(new ValueLookupParameter<T>("Threshold", "The limit of the termiation criterion."));
Note: See TracChangeset
for help on using the changeset viewer.