Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/08/10 18:31:40 (14 years ago)
Author:
gkronber
Message:

Initial commit of plugin for GP based network or equation modeling. #833

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP/3.3/BaseClasses/FunctionLibraryInjectorBase.cs

    r2223 r2616  
    4848    protected abstract FunctionLibrary CreateFunctionLibrary();
    4949
    50     protected void SetAllowedSubOperators(IFunction f, IEnumerable<IFunction> gs) {
     50    protected static void SetAllowedSubOperators(IFunction f, IEnumerable<IFunction> gs) {
    5151      for (int i = 0; i < f.MaxSubTrees; i++) {
    5252        SetAllowedSubOperators(f, i, gs);
     
    5454    }
    5555
    56     protected void SetAllowedSubOperators(IFunction f, int i, IEnumerable<IFunction> gs) {
     56    protected static void SetAllowedSubOperators(IFunction f, int i, IEnumerable<IFunction> gs) {
    5757      foreach (var g in gs) {
    5858        f.AddAllowedSubFunction(g, i);
Note: See TracChangeset for help on using the changeset viewer.