Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/09/11 17:15:58 (13 years ago)
Author:
bburlacu
Message:

#1661: Added SymbolicExpressionTreeLengthAnalyzer. Added new scalingFactory visual property for table data rows (for dynamically adjusting the histogram scale depending on the number of bins) + scaling logic inside the tree length analyzer, adjusted DataTableView.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataRowVisualProperties.cs

    r6676 r6978  
    142142      }
    143143    }
     144    private double scaleFactor;
     145    public double ScaleFactor {
     146      get { return scaleFactor; }
     147      set {
     148        if (scaleFactor != value) {
     149          scaleFactor = value;
     150          OnPropertyChanged("ScaleFactor");
     151        }
     152      }
     153    }
    144154    private string displayName;
    145155    public string DisplayName {
     
    203213      get { return exactBins; }
    204214      set { exactBins = value; }
     215    }
     216    [Storable(Name = "ScaleFactor")]
     217    private double StorableScaleFactor {
     218      get { return scaleFactor; }
     219      set { scaleFactor = value; }
    205220    }
    206221    [Storable(Name = "DisplayName")]
     
    224239      this.bins = original.bins;
    225240      this.exactBins = original.exactBins;
     241      this.scaleFactor = original.scaleFactor;
    226242      this.displayName = original.displayName;
    227243    }
     
    236252      bins = 10;
    237253      exactBins = false;
     254      scaleFactor = 1.0;
    238255      displayName = String.Empty;
    239256    }
Note: See TracChangeset for help on using the changeset viewer.