Changeset 16796
- Timestamp:
- 04/16/19 23:12:05 (6 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/RegressionTreeModel.cs
r16565 r16796 91 91 #region old storable format 92 92 // remove with HL 3.4 93 [Storable( AllowOneWay = true)]93 [Storable(OldName = "SerializedTree")] 94 94 // to prevent storing the references to data caches in nodes 95 95 // seemingly, it is bad (performance-wise) to persist tuples (tuples are used as keys in a dictionary) -
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkEnsembleModel.cs
r16763 r16796 153 153 return new NeuralNetworkEnsembleClassificationSolution(this, new ClassificationEnsembleProblemData(problemData)); 154 154 } 155 155 156 156 #region persistence 157 157 [Storable] … … 183 183 } 184 184 } 185 [Storable( AllowOneWay = true)]185 [Storable(OldName = "MultiLayerPerceptronEnsembleDfdnet")] 186 186 private double[] MultiLayerPerceptronEnsembleDfdnet { 187 187 set { … … 197 197 } 198 198 } 199 [Storable( AllowOneWay = true)]199 [Storable(OldName = "MultiLayerPerceptronEnsembleNeurons")] 200 200 private double[] MultiLayerPerceptronEnsembleNeurons { 201 201 set { mlpEnsemble.innerobj.network.neurons = value; } 202 202 } 203 [Storable( AllowOneWay = true)]203 [Storable(OldName = "MultiLayerPerceptronEnsembleSerializedMlp")] 204 204 private double[] MultiLayerPerceptronEnsembleSerializedMlp { 205 205 set { … … 207 207 } 208 208 } 209 [Storable( AllowOneWay = true)]209 [Storable(OldName = "MultiLayerPerceptronStuctinfo")] 210 210 private int[] MultiLayerPerceptronStuctinfo { 211 211 set { -
trunk/HeuristicLab.Analysis/3.3/DataVisualization/DataRowVisualProperties.cs
r16565 r16796 227 227 internal DataRowHistogramAggregation? Aggregation { get; private set; } 228 228 229 [Storable( Name = "Bins", AllowOneWay = true)]229 [Storable(OldName = "Bins")] 230 230 private int StorableBins { set { Bins = value; } } 231 [Storable( Name = "ExactBins", AllowOneWay = true)]231 [Storable(OldName = "ExactBins")] 232 232 private bool StorableExactBins { set { ExactBins = value; } } 233 [Storable( Name = "Aggregation", AllowOneWay = true)]233 [Storable(OldName = "Aggregation")] 234 234 private DataRowHistogramAggregation StorableAggregation { set { Aggregation = value; } } 235 235 #endregion -
trunk/HeuristicLab.Analysis/3.3/DataVisualization/IndexedDataRow.cs
r16565 r16796 61 61 #region Backwards compatible code, remove with 3.4 62 62 // tuples are stored inefficiently 63 [Storable( Name = "values", AllowOneWay = true)]63 [Storable(OldName = "values")] 64 64 private IEnumerable<Tuple<T, double>> StorableValues { 65 65 set { values = new ObservableList<Tuple<T, double>>(value); } -
trunk/HeuristicLab.Analysis/3.3/DataVisualization/ScatterPlot.cs
r16565 r16796 107 107 #region Backwards compatible code, remove with 3.4 108 108 private ObservableList<PointF> points; 109 [Storable( Name = "points", AllowOneWay = true)]109 [Storable(OldName = "points")] 110 110 private ObservableList<PointF> StorablePoints { 111 111 set { points = value; } 112 112 } 113 113 private string xAxisName; 114 [Storable( Name = "xAxisName", AllowOneWay = true)]114 [Storable(OldName = "xAxisName")] 115 115 private string StorableXAxisName { 116 116 set { xAxisName = value; } 117 117 } 118 118 private string yAxisName; 119 [Storable( Name = "yAxisName", AllowOneWay = true)]119 [Storable(OldName = "yAxisName")] 120 120 private string StorableYAxisName { 121 121 set { yAxisName = value; } -
trunk/HeuristicLab.Analysis/3.3/PopulationSimilarityAnalysis/PopulationSimilarityAnalyzer.cs
r16565 r16796 44 44 #region Backwards compatible code, remove with 3.4 45 45 private ISolutionSimilarityCalculator oldSimilarityCalculator; 46 [Storable( AllowOneWay = true,Name = "SimilarityCalculator")]46 [Storable(OldName = "SimilarityCalculator")] 47 47 [Obsolete] 48 48 private ISolutionSimilarityCalculator SimilarityCalculator { set { oldSimilarityCalculator = value; } } -
trunk/HeuristicLab.Optimization/3.3/MetaOptimizers/BatchRun.cs
r16565 r16796 112 112 // BackwardsCompatibility3.3 113 113 #region Backwards compatible code (remove with 3.4) 114 [Storable( AllowOneWay = true)]114 [Storable(OldName = "algorithm")] 115 115 private IAlgorithm algorithm { 116 116 set { optimizer = value; } -
trunk/HeuristicLab.Optimization/3.3/Problems/Problem.cs
r16565 r16796 84 84 // BackwardsCompatibility3.3 85 85 #region Backwards compatible code, remove with 3.4 86 [Storable( Name = "Operators", AllowOneWay = true)]86 [Storable(OldName = "Operators")] 87 87 private IEnumerable<IOperator> StorableOperators { 88 88 set { -
trunk/HeuristicLab.Optimization/3.3/RunCollection.cs
r16565 r16796 125 125 // BackwardsCompatibility3.3 126 126 #region Backwards compatible code, remove with 3.4 127 [Storable( AllowOneWay = true)]127 [Storable(OldName = "AlgorithmName")] 128 128 private string AlgorithmName { 129 129 set { optimizerName = value; } -
trunk/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableMemberInfo.cs
r16565 r16796 44 44 DefaultValue = attribute.DefaultValue; 45 45 MemberInfo = memberInfo; 46 if (! attribute.AllowOneWay)46 if (!string.IsNullOrEmpty(attribute.OldName)) 47 47 CheckPropertyAccess(memberInfo as PropertyInfo); 48 48 } -
trunk/HeuristicLab.Problems.DataAnalysis/3.4/Dataset.cs
r16565 r16796 133 133 #region Backwards compatible code, remove with 3.5 134 134 private double[,] storableData; 135 //name alias used to supp port backwards compatibility136 [Storable( Name = "data", AllowOneWay = true)]135 //name alias used to support backwards compatibility 136 [Storable(OldName = "data")] 137 137 private double[,] StorableData { set { storableData = value; } } 138 138 -
trunk/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/RegressionEnsembleModel.cs
r16565 r16796 73 73 74 74 #region backwards compatiblity 3.3.5 75 [Storable( Name = "models", AllowOneWay = true)]75 [Storable(OldName = "models")] 76 76 private List<IRegressionModel> OldStorableModels { 77 77 set { models = value; } -
trunk/HeuristicLab.Problems.VehicleRouting/3.4/VehicleRoutingProblem.cs
r16565 r16796 175 175 } 176 176 177 [Storable( Name = "operators", AllowOneWay = true)]177 [Storable(OldName = "operators")] 178 178 private List<IOperator> StorableOperators { 179 179 set { Operators.AddRange(value); }
Note: See TracChangeset
for help on using the changeset viewer.