Changeset 12415 for branches/TerminationCriteria
- Timestamp:
- 06/02/15 17:00:56 (9 years ago)
- Location:
- branches/TerminationCriteria/HeuristicLab.Termination/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TerminationCriteria/HeuristicLab.Termination/3.3/ISingleValueTerminator.cs
r12411 r12415 24 24 namespace HeuristicLab.Termination { 25 25 public interface ISingleValueTerminator : ITerminator { 26 IParameter ThresholdParameter { get; }26 IParameter SingleValueParameter { get; } 27 27 } 28 28 } -
branches/TerminationCriteria/HeuristicLab.Termination/3.3/ThresholdTerminator.cs
r12411 r12415 46 46 } 47 47 } 48 IParameter ISingleValueTerminator. ThresholdParameter {48 IParameter ISingleValueTerminator.SingleValueParameter { 49 49 get { return ThresholdParameter; } 50 50 } -
branches/TerminationCriteria/HeuristicLab.Termination/3.3/Views/SingleValueTerminatorView.cs
r12411 r12415 42 42 viewHost.Content = null; 43 43 if (Content != null) { 44 if (Content.ThresholdParameter.ActualValue != null) 45 viewHost.Content = Content.ThresholdParameter.ActualValue; 46 else 47 viewHost.Content = Content.ThresholdParameter; 44 viewHost.Content = Content.SingleValueParameter.ActualValue ?? Content.SingleValueParameter; 48 45 } 49 46 }
Note: See TracChangeset
for help on using the changeset viewer.