Changeset 7810 for branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.DataAnalysis.Symbolic
- Timestamp:
- 05/14/12 16:20:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisProblem.cs
r7770 r7810 321 321 322 322 #region Import & Export 323 p rotectedvoid Load(T data) {323 public void Load(T data) { 324 324 Name = data.Name; 325 325 Description = data.Description; … … 328 328 } 329 329 330 protected T Export(T data) { 331 data.Name = Name; 332 data.Description = Description; 333 data.TrainingPartition.Start = ProblemData.TrainingPartition.Start; 334 data.TrainingPartition.End = ProblemData.TrainingPartition.End; 335 data.TestPartition.Start = ProblemData.TestPartition.Start; 336 data.TestPartition.End = ProblemData.TestPartition.End; 337 return data; 330 public T Export() { 331 return ProblemData; 338 332 } 339 333 #endregion
Note: See TracChangeset
for help on using the changeset viewer.