Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/05/09 11:17:08 (15 years ago)
Author:
gkronber
Message:

Fixed #323 (The default representation of FunctionTreeView should show coefficients and time-offsets of variables and values of constants).

File:
1 edited

Legend:

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

    r2222 r2235  
    2424
    2525namespace HeuristicLab.GP.StructureIdentification {
    26   public class ModelAnalyzerExporter : IFunctionTreeSerializer, IFunctionTreeNameGenerator {
     26  public class ModelAnalyzerExporter : IFunctionTreeSerializer {
    2727    #region IFunctionTreeExporter Members
    2828
     
    7373    #endregion
    7474
    75     private string ExportFunction(IFunction function, IFunctionTree tree) {
     75    private static string ExportFunction(IFunction function, IFunctionTree tree) {
    7676      // this is smelly, if there is a cleaner way to have a 'dynamic' visitor
    7777      // please let me know! (gkronber 14.10.2008)
     
    103103    }
    104104
    105     #region IFunctionTreeNameGenerator Members
    106 
    107     string IFunctionTreeNameGenerator.Name {
    108       get { return "HL2 Representation"; }
    109     }
    110 
    111     public string GetName(IFunctionTree tree) {
     105    public static string GetName(IFunctionTree tree) {
    112106      string name = "";
    113107      try {
     
    118112      return name;
    119113    }
    120 
    121     #endregion
    122 
    123 
    124114  }
    125115
Note: See TracChangeset for help on using the changeset viewer.