Changeset 1176 for trunk/sources/HeuristicLab.Constraints/ConstraintBase.cs
- Timestamp:
- 01/27/09 09:31:06 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Constraints/ConstraintBase.cs
r764 r1176 27 27 28 28 namespace HeuristicLab.Constraints { 29 /// <summary> 30 /// Base class for all constraints. 31 /// </summary> 29 32 public abstract class ConstraintBase : ItemBase, IConstraint { 33 /// <inheritdoc select="summary"/> 30 34 public virtual string Description { 31 35 get { return "No constraint description available."; } 32 36 } 33 37 38 /// <summary> 39 /// Checks whether the given data fulfills the current constraint. 40 /// </summary> 41 /// <param name="data">The item to check.</param> 42 /// <returns><c>true</c> if the constraint could be fulfilled, <c>false</c> otherwise.</returns> 34 43 public abstract bool Check(IItem data); 35 44 }
Note: See TracChangeset
for help on using the changeset viewer.