- Timestamp:
- 04/20/10 15:49:22 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Variable.cs
r2910 r3442 25 25 using HeuristicLab.Data; 26 26 using System.Xml; 27 using HeuristicLab.Core; 27 28 28 29 namespace HeuristicLab.GP.StructureIdentification { … … 149 150 public override object Clone(System.Collections.Generic.IDictionary<System.Guid, object> clonedObjects) { 150 151 Variable clone = (Variable)base.Clone(clonedObjects); 151 clone. MaxTimeOffset = MaxTimeOffset;152 clone. MinTimeOffset = MinTimeOffset;152 clone.maxOffset = MaxTimeOffset; 153 clone.minOffset = MinTimeOffset; 153 154 return clone; 154 155 } … … 166 167 base.Populate(node, restoredObjects); 167 168 if (node.Attributes["MinTimeOffset"] != null) 168 MinTimeOffset = XmlConvert.ToInt32(node.Attributes["MinTimeOffset"].Value);169 minOffset = XmlConvert.ToInt32(node.Attributes["MinTimeOffset"].Value); 169 170 else MinTimeOffset = 0; 170 171 if (node.Attributes["MaxTimeOffset"] != null) 171 MaxTimeOffset = XmlConvert.ToInt32(node.Attributes["MaxTimeOffset"].Value);172 maxOffset = XmlConvert.ToInt32(node.Attributes["MaxTimeOffset"].Value); 172 173 else MaxTimeOffset = 0; 173 174 }
Note: See TracChangeset
for help on using the changeset viewer.