- Timestamp:
- 11/21/08 09:48:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/GreaterOrEqualThanComparator.cs
r2 r801 28 28 29 29 namespace HeuristicLab.Operators { 30 /// <summary> 31 /// Operator to check whether one item is equal or greater than another. 32 /// </summary> 30 33 public class GreaterOrEqualThanComparator : ComparatorBase { 34 /// <inheritdoc select="summary"/> 31 35 public override string Description { 32 36 get { return @"TODO\r\nOperator description still missing ..."; } 33 37 } 34 38 /// <summary> 39 /// Initializes a new instance of <see cref="GreaterOrEqualThanComparator"/>. 40 /// </summary> 35 41 public GreaterOrEqualThanComparator() 36 42 : base() { 37 43 } 38 44 45 /// <summary> 46 /// Checks whether the <paramref name="left"/> item is greater or equal to the <paramref name="right"/>. 47 /// </summary> 48 /// <param name="left">The left side of the comparison.</param> 49 /// <param name="right">The right side of the comparison.</param> 50 /// <returns><c>true</c> if the <paramref name="left"/> item is greater or equal to the 51 /// <paramref name="right"/>, <c>false</c> otherwise.</returns> 39 52 protected override bool Compare(IComparable left, IItem right) { 40 53 return left.CompareTo(right) >= 0;
Note: See TracChangeset
for help on using the changeset viewer.