Changeset 6760 for branches/PersistenceSpeedUp/HeuristicLab.Optimization/3.3/RunCollectionConstraints
- Timestamp:
- 09/14/11 13:59:25 (13 years ago)
- Location:
- branches/PersistenceSpeedUp
- Files:
-
- 5 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceSpeedUp
- Property svn:ignore
-
old new 12 12 *.psess 13 13 *.vsp 14 *.docstates
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/PersistenceSpeedUp/HeuristicLab.Optimization/3.3/RunCollectionConstraints/IRunCollectionConstraint.cs
r5445 r6760 26 26 public interface IRunCollectionConstraint : IConstraint { 27 27 new RunCollection ConstrainedValue { get; set; } 28 } 29 30 public interface IRunCollectionColumnConstraint : IRunCollectionConstraint { 28 31 string ConstraintColumn { get; set; } 29 32 event EventHandler ConstraintColumnChanged; -
branches/PersistenceSpeedUp/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionComparisonConstraint.cs
r5445 r6760 30 30 [StorableClass] 31 31 [Item("RunCollectionComparisonConstraint", "A constraint which compares the members of the contained runs with the constraint data.")] 32 public class RunCollectionComparisonConstraint : ComparisonConstraint, IRunCollectionCo nstraint {32 public class RunCollectionComparisonConstraint : ComparisonConstraint, IRunCollectionColumnConstraint { 33 33 [StorableConstructor] 34 34 protected RunCollectionComparisonConstraint(bool deserializing) : base(deserializing) { } -
branches/PersistenceSpeedUp/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionEqualityConstraint.cs
r5445 r6760 30 30 [StorableClass] 31 31 [Item("RunCollectionEqualityConstraint", "A constraint which checks the members of the contained runs for equality to the constraint data.")] 32 public class RunCollectionEqualityConstraint : EqualityConstraint, IRunCollectionCo nstraint {32 public class RunCollectionEqualityConstraint : EqualityConstraint, IRunCollectionColumnConstraint { 33 33 [StorableConstructor] 34 34 protected RunCollectionEqualityConstraint(bool deserializing) : base(deserializing) { } … … 100 100 foreach (IRun run in ConstrainedValue.Where(r => r.Visible)) { 101 101 IItem item = ConstrainedValue.GetValue(run, constraintColumn); 102 if ( !base.Check(item.ToString()))102 if (item != null && !base.Check(item.ToString())) 103 103 run.Visible = false; 104 104 } -
branches/PersistenceSpeedUp/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionTypeCompatiblityConstraint.cs
r5445 r6760 30 30 [StorableClass] 31 31 [Item("RunCollectionTypeCompatibilityConstraint", "A constraint which checks the members of the contained runs for type compabitiliby to the constraint data.")] 32 public class RunCollectionTypeCompatibilityConstraint : TypeCompatibilityConstraint, IRunCollectionCo nstraint {32 public class RunCollectionTypeCompatibilityConstraint : TypeCompatibilityConstraint, IRunCollectionColumnConstraint { 33 33 [StorableConstructor] 34 34 protected RunCollectionTypeCompatibilityConstraint(bool deserializing) {
Note: See TracChangeset
for help on using the changeset viewer.