Changeset 2616 for trunk/sources/HeuristicLab.GP/3.3/BaseClasses
- Timestamp:
- 01/08/10 18:31:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP/3.3/BaseClasses/FunctionLibraryInjectorBase.cs
r2223 r2616 48 48 protected abstract FunctionLibrary CreateFunctionLibrary(); 49 49 50 protected void SetAllowedSubOperators(IFunction f, IEnumerable<IFunction> gs) {50 protected static void SetAllowedSubOperators(IFunction f, IEnumerable<IFunction> gs) { 51 51 for (int i = 0; i < f.MaxSubTrees; i++) { 52 52 SetAllowedSubOperators(f, i, gs); … … 54 54 } 55 55 56 protected void SetAllowedSubOperators(IFunction f, int i, IEnumerable<IFunction> gs) {56 protected static void SetAllowedSubOperators(IFunction f, int i, IEnumerable<IFunction> gs) { 57 57 foreach (var g in gs) { 58 58 f.AddAllowedSubFunction(g, i);
Note: See TracChangeset
for help on using the changeset viewer.