Changeset 171
- Timestamp:
- 04/23/08 12:51:08 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.StructureIdentification/StructIdProblemInjector.cs
r160 r171 37 37 public StructIdProblemInjector() 38 38 : base() { 39 AddVariableInfo(new VariableInfo("Maximization", "Set to false as default (for MSE)", typeof(BoolData), VariableKind.New));40 39 AddVariableInfo(new VariableInfo("Dataset", "Dataset", typeof(Dataset), VariableKind.New)); 41 40 AddVariable(new Variable("Dataset", new Dataset())); … … 53 52 54 53 public override IOperation Apply(IScope scope) { 55 scope.AddVariable(new Variable(scope.TranslateName("Maximization"), new BoolData(false)));56 54 scope.AddVariable(new Variable(scope.TranslateName("Dataset"), (IItem)GetVariable("Dataset").Value.Clone())); 57 55 scope.AddVariable(new Variable(scope.TranslateName("TargetVariable"), (IItem)GetVariable("TargetVariable").Value.Clone()));
Note: See TracChangeset
for help on using the changeset viewer.