Changeset 77 for trunk/sources/HeuristicLab.StructureIdentification
- Timestamp:
- 03/18/08 16:00:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.StructureIdentification/StructIdProblemInjector.cs
r2 r77 57 57 58 58 public override IOperation Apply(IScope scope) { 59 scope.AddVariable(new Variable( GetVariableInfo("Maximization").ActualName, new BoolData(false)));60 scope.AddVariable(new Variable( GetVariableInfo("Dataset").ActualName, (IItem)GetVariable("Dataset").Value.Clone()));61 scope.AddVariable(new Variable( GetVariableInfo("TargetVariable").ActualName, (IItem)GetVariable("TargetVariable").Value.Clone()));62 scope.AddVariable(new Variable( GetVariableInfo("MaxTreeHeight").ActualName, (IItem)GetVariable("MaxTreeHeight").Value.Clone()));63 scope.AddVariable(new Variable( GetVariableInfo("MaxTreeSize").ActualName, (IItem)GetVariable("MaxTreeSize").Value.Clone()));64 scope.AddVariable(new Variable( GetVariableInfo("TrainingSamplesStart").ActualName, (IItem)GetVariable("TrainingSamplesStart").Value.Clone()));65 scope.AddVariable(new Variable( GetVariableInfo("TrainingSamplesEnd").ActualName, (IItem)GetVariable("TrainingSamplesEnd").Value.Clone()));59 scope.AddVariable(new Variable(scope.TranslateName("Maximization"), new BoolData(false))); 60 scope.AddVariable(new Variable(scope.TranslateName("Dataset"), (IItem)GetVariable("Dataset").Value.Clone())); 61 scope.AddVariable(new Variable(scope.TranslateName("TargetVariable"), (IItem)GetVariable("TargetVariable").Value.Clone())); 62 scope.AddVariable(new Variable(scope.TranslateName("MaxTreeHeight"), (IItem)GetVariable("MaxTreeHeight").Value.Clone())); 63 scope.AddVariable(new Variable(scope.TranslateName("MaxTreeSize"), (IItem)GetVariable("MaxTreeSize").Value.Clone())); 64 scope.AddVariable(new Variable(scope.TranslateName("TrainingSamplesStart"), (IItem)GetVariable("TrainingSamplesStart").Value.Clone())); 65 scope.AddVariable(new Variable(scope.TranslateName("TrainingSamplesEnd"), (IItem)GetVariable("TrainingSamplesEnd").Value.Clone())); 66 66 return null; 67 67 }
Note: See TracChangeset
for help on using the changeset viewer.