- Timestamp:
- 07/23/19 20:33:58 (5 years ago)
- Location:
- stable
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk merged: 16853,16855-16856,16858,17078-17085,17139
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis.DecisionTrees/3.4/Splitting/SplitterBase.cs
r17080 r17159 112 112 [StorableType("BC1149FD-370E-4F3A-92F5-6E519736D09A")] 113 113 public class SplittingState : Item { 114 public Queue<RegressionNodeModel> nodeQueue; 114 115 [Storable] 115 public Queue<RegressionNodeModel> nodeQueue = new Queue<RegressionNodeModel>(); 116 private RegressionNodeModel[] storableNodeQueue { 117 get { return nodeQueue.ToArray(); } 118 set { nodeQueue = new Queue<RegressionNodeModel>(value); } 119 } 120 121 public Queue<IReadOnlyList<int>> trainingRowsQueue; 116 122 [Storable] 117 public Queue<IReadOnlyList<int>> trainingRowsQueue = new Queue<IReadOnlyList<int>>(); 123 private IReadOnlyList<int>[] storableTrainingRowsQueue { 124 get { return trainingRowsQueue.ToArray(); } 125 set { trainingRowsQueue = new Queue<IReadOnlyList<int>>(value); } 126 } 127 118 128 119 129 //State.Code values denote the current action (for pausing) … … 131 141 Code = original.Code; 132 142 } 133 public SplittingState() { } 143 public SplittingState() : base() { 144 nodeQueue = new Queue<RegressionNodeModel>(); 145 trainingRowsQueue = new Queue<IReadOnlyList<int>>(); 146 } 134 147 public override IDeepCloneable Clone(Cloner cloner) { 135 148 return new SplittingState(this, cloner);
Note: See TracChangeset
for help on using the changeset viewer.