Changeset 7213 for branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis
- Timestamp:
- 12/20/11 11:45:18 (13 years ago)
- Location:
- branches/HeuristicLab.TimeSeries
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TimeSeries
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Analysis (added) merged: 7124,7126,7172,7201
- Property svn:mergeinfo changed
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/AlleleFrequencyAnalysis/AlleleFrequencyAnalyzer.cs
r6051 r7213 37 37 [StorableClass] 38 38 public abstract class AlleleFrequencyAnalyzer<T> : SingleSuccessorOperator, IAnalyzer where T : class, IItem { 39 public virtual bool EnabledByDefault { 40 get { return false; } 41 } 42 39 43 public LookupParameter<BoolValue> MaximizationParameter { 40 44 get { return (LookupParameter<BoolValue>)Parameters["Maximization"]; } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/AlleleFrequencyAnalysis/AlleleFrequencyCollection.cs
r5445 r7213 33 33 [StorableClass] 34 34 public class AlleleFrequencyCollection : ReadOnlyItemCollection<AlleleFrequency> { 35 public override ImageItemImage {35 public static new Image StaticItemImage { 36 36 get { return HeuristicLab.Common.Resources.VSImageLibrary.Statistics; } 37 37 } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/AlleleFrequencyAnalysis/AlleleFrequencyCollectionHistory.cs
r5445 r7213 33 33 [StorableClass] 34 34 public class AlleleFrequencyCollectionHistory : ItemCollection<AlleleFrequencyCollection> { 35 public override ImageItemImage {35 public static new Image StaticItemImage { 36 36 get { return HeuristicLab.Common.Resources.VSImageLibrary.Cab; } 37 37 } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/BestScopeSolutionAnalyzer.cs
r5445 r7213 37 37 [StorableClass] 38 38 public class BestScopeSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer { 39 public virtual bool EnabledByDefault { 40 get { return true; } 41 } 42 39 43 public LookupParameter<BoolValue> MaximizationParameter { 40 44 get { return (LookupParameter<BoolValue>)Parameters["Maximization"]; } … … 84 88 i = qualities.Select((x, index) => new { index, x.Value }).OrderBy(x => x.Value).First().index; 85 89 else i = qualities.Select((x, index) => new { index, x.Value }).OrderByDescending(x => x.Value).First().index; 86 90 87 91 IEnumerable<IScope> scopes = new IScope[] { ExecutionContext.Scope }; 88 92 for (int j = 0; j < QualityParameter.Depth; j++) -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/DataVisualization/DataRowVisualProperties.cs
r6978 r7213 152 152 } 153 153 } 154 private bool isVisibleInLegend; 155 public bool IsVisibleInLegend { 156 get { return isVisibleInLegend; } 157 set { 158 if (isVisibleInLegend != value) { 159 isVisibleInLegend = value; 160 OnPropertyChanged("IsVisibleInLegend"); 161 } 162 } 163 } 154 164 private string displayName; 155 165 public string DisplayName { … … 218 228 get { return scaleFactor; } 219 229 set { scaleFactor = value; } 230 } 231 [Storable(Name = "IsVisibleInLegend", DefaultValue = true)] 232 private bool StorableIsVisibleInLegend { 233 get { return isVisibleInLegend; } 234 set { isVisibleInLegend = value; } 220 235 } 221 236 [Storable(Name = "DisplayName")] … … 241 256 this.scaleFactor = original.scaleFactor; 242 257 this.displayName = original.displayName; 258 this.isVisibleInLegend = original.isVisibleInLegend; 243 259 } 244 260 public DataRowVisualProperties() { … … 254 270 scaleFactor = 1.0; 255 271 displayName = String.Empty; 272 isVisibleInLegend = true; 256 273 } 257 274 public DataRowVisualProperties(string displayName) -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/DataVisualization/DataTable.cs
r5445 r7213 38 38 [StorableClass] 39 39 public class DataTable : NamedItem, IStringConvertibleMatrix { 40 public override ImageItemImage {40 public static new Image StaticItemImage { 41 41 get { return HeuristicLab.Common.Resources.VSImageLibrary.Performance; } 42 42 } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/DataVisualization/DataTableHistory.cs
r5445 r7213 33 33 [StorableClass] 34 34 public class DataTableHistory : ItemCollection<DataTable> { 35 public override ImageItemImage {35 public static new Image StaticItemImage { 36 36 get { return HeuristicLab.Common.Resources.VSImageLibrary.Cab; } 37 37 } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/DataVisualization/HeatMap.cs
r5445 r7213 31 31 [StorableClass] 32 32 public class HeatMap : DoubleMatrix { 33 public override ImageItemImage {33 public static new Image StaticItemImage { 34 34 get { return HeuristicLab.Common.Resources.VSImageLibrary.Gradient; } 35 35 } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/DataVisualization/HeatMapHistory.cs
r5445 r7213 33 33 [StorableClass] 34 34 public class HeatMapHistory : ItemCollection<HeatMap> { 35 public override ImageItemImage {35 public static new Image StaticItemImage { 36 36 get { return HeuristicLab.Common.Resources.VSImageLibrary.Cab; } 37 37 } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/MultiAnalyzer.cs
r5445 r7213 38 38 public override bool CanChangeName { 39 39 get { return false; } 40 } 41 public virtual bool EnabledByDefault { 42 get { return true; } 40 43 } 41 44 -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/MultiObjective/ParetoFrontAnalyzer.cs
r5438 r7213 11 11 [StorableClass] 12 12 public abstract class ParetoFrontAnalyzer : SingleSuccessorOperator, IAnalyzer { 13 public virtual bool EnabledByDefault { 14 get { return true; } 15 } 16 13 17 public IScopeTreeLookupParameter<DoubleArray> QualitiesParameter { 14 18 get { return (IScopeTreeLookupParameter<DoubleArray>)Parameters["Qualities"]; } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/PopulationDiversityAnalysis/PopulationDiversityAnalyzer.cs
r6051 r7213 37 37 [StorableClass] 38 38 public abstract class PopulationDiversityAnalyzer<T> : SingleSuccessorOperator, IAnalyzer where T : class, IItem { 39 public virtual bool EnabledByDefault { 40 get { return false; } 41 } 42 39 43 public LookupParameter<BoolValue> MaximizationParameter { 40 44 get { return (LookupParameter<BoolValue>)Parameters["Maximization"]; } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/QualityAnalysis/BestAverageWorstQualityAnalyzer.cs
r6051 r7213 74 74 75 75 #region Properties 76 public bool EnabledByDefault { 77 get { return true; } 78 } 76 79 private BestQualityMemorizer BestQualityMemorizer { 77 80 get { return (BestQualityMemorizer)OperatorGraph.InitialOperator; } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/QualityAnalysis/QualityAnalyzer.cs
r5445 r7213 65 65 66 66 #region Properties 67 public bool EnabledByDefault { 68 get { return true; } 69 } 67 70 private BestQualityMemorizer BestQualityMemorizer { 68 71 get { return (BestQualityMemorizer)OperatorGraph.InitialOperator; } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/QualityAnalysis/QualityDistributionAnalyzer.cs
r6628 r7213 54 54 } 55 55 #endregion 56 57 public virtual bool EnabledByDefault { 58 get { return true; } 59 } 56 60 57 61 public string HistogramName { -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/QualityAnalysis/ScaledQualityDifferenceAnalyzer.cs
r6628 r7213 34 34 [StorableClass] 35 35 public class ScaledQualityDifferenceAnalyzer : SingleSuccessorOperator, IAnalyzer { 36 public virtual bool EnabledByDefault { 37 get { return true; } 38 } 39 36 40 public ILookupParameter<DoubleValue> QualityParameter { 37 41 get { return (ILookupParameter<DoubleValue>)Parameters["Quality"]; } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/ValueAnalysis/MinAverageMaxValueAnalyzer.cs
r5445 r7213 68 68 69 69 #region Properties 70 public bool EnabledByDefault { 71 get { return true; } 72 } 70 73 private MinAverageMaxValueCalculator MinAverageMaxValueCalculator { 71 74 get { return (MinAverageMaxValueCalculator)OperatorGraph.InitialOperator; } … … 81 84 } 82 85 #endregion 86 83 87 [Storable] 84 88 private ResultsCollector resultsCollector; … … 193 197 else if (!CollectMaxValueInResults.Value && maxValueParameter != null) 194 198 resultsCollector.CollectedValues.Remove(maxValueParameter); 195 199 } 196 200 197 201 private void CollectMinValueInResultsParameter_ValueChanged(object sender, EventArgs e) { -
branches/HeuristicLab.TimeSeries/HeuristicLab.Analysis/3.3/ValueAnalysis/ValueAnalyzer.cs
r5445 r7213 50 50 51 51 #region Properties 52 public bool EnabledByDefault { 53 get { return true; } 54 } 52 55 private DataTableValuesCollector DataTableValuesCollector { 53 56 get { return (DataTableValuesCollector)OperatorGraph.InitialOperator; } … … 63 66 private ValueAnalyzer(ValueAnalyzer original, Cloner cloner) 64 67 : base(original, cloner) { 65 68 Initialize(); 66 69 } 67 70 public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset
for help on using the changeset viewer.