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