Changeset 2566 for trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/StandardGPRegression.cs
- Timestamp:
- 12/21/09 16:14:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/StandardGPRegression.cs
r2440 r2566 117 117 problemInjector.OperatorGraph.AddOperator(value); 118 118 problemInjector.OperatorGraph.InitialOperator.AddSubOperator(value, 0); 119 } 120 } 121 122 public override IOperator FunctionLibraryInjector { 123 get { 124 CombinedOperator funLibInjector = (CombinedOperator)GetInitializationOperator().SubOperators[1]; 125 return funLibInjector.OperatorGraph.InitialOperator.SubOperators[0]; 126 } 127 set { 128 CombinedOperator funLibInjector = (CombinedOperator)GetInitializationOperator().SubOperators[1]; 129 IOperator seq = funLibInjector.OperatorGraph.InitialOperator; 130 seq.RemoveSubOperator(0); 131 seq.AddSubOperator(value, 0); 119 132 } 120 133 }
Note: See TracChangeset
for help on using the changeset viewer.