Changeset 3625
- Timestamp:
- 05/05/10 11:18:01 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/RunCollection.cs
r3614 r3625 45 45 constraints.CollectionReset += new CollectionItemsChangedEventHandler<IRunCollectionConstraint>(Constraints_CollectionReset); 46 46 } 47 [Storable] 47 48 private Dictionary<string, HashSet<Type>> dataTypes; 48 49 public IEnumerable<Type> GetDataType(string columnName) { … … 53 54 private RunCollectionConstraintCollection constraints; 54 55 public RunCollectionConstraintCollection Constraints { 55 get { return constraints; }56 get { return constraints; } 56 57 } 57 58 … … 157 158 } 158 159 160 public override IDeepCloneable Clone(Cloner cloner) { 161 RunCollection clone = (RunCollection)base.Clone(cloner); 162 clone.resultNames = this.resultNames; 163 clone.parameterNames = this.parameterNames; 164 clone.dataTypes = new Dictionary<string, HashSet<Type>>(); 165 foreach (string s in this.dataTypes.Keys) 166 clone.dataTypes[s] = new HashSet<Type>(this.dataTypes[s]); 167 168 return clone; 169 } 170 159 171 #region IStringConvertibleMatrix Members 160 172 [Storable]
Note: See TracChangeset
for help on using the changeset viewer.