Changeset 2821 for trunk/sources/HeuristicLab.GP.StructureIdentification
- Timestamp:
- 02/17/10 19:22:45 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/FunctionLibraryInjectors/DefaultFunctionLibraryInjector.cs
r2728 r2821 126 126 return functionLibrary; 127 127 } 128 129 private void ConditionalAddFunction(string condName, IFunction fun, List<IFunction> list) {130 if (GetVariableValue<BoolData>(condName, null, false).Data) list.Add(fun);131 }132 133 private void ConditionalAddOperator(string condName, FunctionLibrary functionLib, IFunction op) {134 if (GetVariableValue<BoolData>(condName, null, false).Data) functionLib.AddFunction(op);135 }136 128 } 137 129 }
Note: See TracChangeset
for help on using the changeset viewer.