Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/20/10 15:49:22 (15 years ago)
Author:
gkronber
Message:

Implemented views for DataAnalysisProblems and DataAnalysisSolutions. #938 (Data types and operators for regression problems)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Symbols/Variable.cs

    r2910 r3442  
    2525using HeuristicLab.Data;
    2626using System.Xml;
     27using HeuristicLab.Core;
    2728
    2829namespace HeuristicLab.GP.StructureIdentification {
     
    149150    public override object Clone(System.Collections.Generic.IDictionary<System.Guid, object> clonedObjects) {
    150151      Variable clone = (Variable)base.Clone(clonedObjects);
    151       clone.MaxTimeOffset = MaxTimeOffset;
    152       clone.MinTimeOffset = MinTimeOffset;
     152      clone.maxOffset = MaxTimeOffset;
     153      clone.minOffset = MinTimeOffset;
    153154      return clone;
    154155    }
     
    166167      base.Populate(node, restoredObjects);
    167168      if (node.Attributes["MinTimeOffset"] != null)
    168         MinTimeOffset = XmlConvert.ToInt32(node.Attributes["MinTimeOffset"].Value);
     169        minOffset = XmlConvert.ToInt32(node.Attributes["MinTimeOffset"].Value);
    169170      else MinTimeOffset = 0;
    170171      if (node.Attributes["MaxTimeOffset"] != null)
    171         MaxTimeOffset = XmlConvert.ToInt32(node.Attributes["MaxTimeOffset"].Value);
     172        maxOffset = XmlConvert.ToInt32(node.Attributes["MaxTimeOffset"].Value);
    172173      else MaxTimeOffset = 0;
    173174    }
Note: See TracChangeset for help on using the changeset viewer.