Changeset 172 for trunk/sources/HeuristicLab.StructureIdentification
- Timestamp:
- 04/23/08 13:13:06 (17 years ago)
- Location:
- trunk/sources/HeuristicLab.StructureIdentification
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.StructureIdentification/StructIdProblemInjector.cs
r171 r172 41 41 AddVariableInfo(new VariableInfo("TargetVariable", "TargetVariable", typeof(IntData), VariableKind.New)); 42 42 AddVariable(new Variable("TargetVariable", new IntData())); 43 AddVariableInfo(new VariableInfo("MaxTreeHeight", "MaxTreeHeight", typeof(IntData), VariableKind.New));44 AddVariable(new Variable("MaxTreeHeight", new IntData(1)));45 AddVariableInfo(new VariableInfo("MaxTreeSize", "MaxTreeSize", typeof(IntData), VariableKind.New));46 AddVariable(new Variable("MaxTreeSize", new IntData(1)));47 43 } 48 44 … … 54 50 scope.AddVariable(new Variable(scope.TranslateName("Dataset"), (IItem)GetVariable("Dataset").Value.Clone())); 55 51 scope.AddVariable(new Variable(scope.TranslateName("TargetVariable"), (IItem)GetVariable("TargetVariable").Value.Clone())); 56 scope.AddVariable(new Variable(scope.TranslateName("MaxTreeHeight"), (IItem)GetVariable("MaxTreeHeight").Value.Clone()));57 scope.AddVariable(new Variable(scope.TranslateName("MaxTreeSize"), (IItem)GetVariable("MaxTreeSize").Value.Clone()));58 52 return null; 59 53 } -
trunk/sources/HeuristicLab.StructureIdentification/StructIdProblemInjectorView.cs
r168 r172 91 91 92 92 ((IntData)StructIdProblemInjector.GetVariable("TargetVariable").Value).Data = parser.TargetVariable; 93 ((IntData)StructIdProblemInjector.GetVariable("MaxTreeHeight").Value).Data = parser.MaxTreeHeight;94 ((IntData)StructIdProblemInjector.GetVariable("MaxTreeSize").Value).Data = parser.MaxTreeSize;95 93 Refresh(); 96 94 }
Note: See TracChangeset
for help on using the changeset viewer.