Changeset 397 for trunk/sources/HeuristicLab.StructureIdentification
- Timestamp:
- 07/29/08 11:37:13 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.StructureIdentification
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.StructureIdentification/StructIdProblemInjector.cs
r363 r397 49 49 AddVariableInfo(new VariableInfo("ValidationSamplesEnd", "ValidationSamplesEnd", typeof(IntData), VariableKind.New)); 50 50 AddVariable(new Variable("ValidationSamplesEnd", new IntData())); 51 AddVariableInfo(new VariableInfo("TestSamplesStart", "TestSamplesStart", typeof(IntData), VariableKind.New)); 52 AddVariable(new Variable("TestSamplesStart", new IntData())); 53 AddVariableInfo(new VariableInfo("TestSamplesEnd", "TestSamplesEnd", typeof(IntData), VariableKind.New)); 54 AddVariable(new Variable("TestSamplesEnd", new IntData())); 51 55 } 52 56 … … 62 66 scope.AddVariable(new Variable(scope.TranslateName("ValidationSamplesStart"), (IItem)GetVariable("ValidationSamplesStart").Value.Clone())); 63 67 scope.AddVariable(new Variable(scope.TranslateName("ValidationSamplesEnd"), (IItem)GetVariable("ValidationSamplesEnd").Value.Clone())); 68 scope.AddVariable(new Variable(scope.TranslateName("TestSamplesStart"), (IItem)GetVariable("TestSamplesStart").Value.Clone())); 69 scope.AddVariable(new Variable(scope.TranslateName("TestSamplesEnd"), (IItem)GetVariable("TestSamplesEnd").Value.Clone())); 64 70 return null; 65 71 } -
trunk/sources/HeuristicLab.StructureIdentification/StructIdProblemInjectorView.cs
r366 r397 101 101 ((IntData)StructIdProblemInjector.GetVariable("ValidationSamplesStart").Value).Data = parser.ValidationSamplesStart; 102 102 ((IntData)StructIdProblemInjector.GetVariable("ValidationSamplesEnd").Value).Data = parser.ValidationSamplesEnd; 103 ((IntData)StructIdProblemInjector.GetVariable("TestSamplesStart").Value).Data = parser.TestSamplesStart; 104 ((IntData)StructIdProblemInjector.GetVariable("TestSamplesEnd").Value).Data = parser.TestSamplesEnd; 103 105 ((IntData)StructIdProblemInjector.GetVariable("TargetVariable").Value).Data = parser.TargetVariable; 104 106 Refresh();
Note: See TracChangeset
for help on using the changeset viewer.