Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/15/08 16:47:45 (16 years ago)
Author:
gkronber
Message:

removed visitor interfaces and methods in HeuristicLab.Data and fixed classes in HeuristicLab.Random to work without visitor methods. #343 (Rethink about usefulness of visitors for ObjectData and Constraints)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP.Boolean/FunctionLibraryInjector.cs

    r722 r763  
    7373      And and = new And();
    7474      Or or = new Or();
    75       Not not = new Not();
     75      //Not not = new Not();
    7676      Nand nand = new Nand();
    7777      Nor nor = new Nor();
    78       Xor xor = new Xor();
     78      //Xor xor = new Xor();
    7979      variable = new HeuristicLab.GP.Boolean.Variable();
    8080
     
    8282        and,
    8383        or,
    84         not,
     84        //not,
    8585        nand,
    8686        nor,
    87         xor,
     87        //xor,
    8888        variable
    8989      };
     
    9191      SetAllowedSubOperators(and, allFunctions);
    9292      SetAllowedSubOperators(or, allFunctions);
    93       SetAllowedSubOperators(not, allFunctions);
     93      //SetAllowedSubOperators(not, allFunctions);
    9494      SetAllowedSubOperators(nand, allFunctions);
    9595      SetAllowedSubOperators(nor, allFunctions);
    96       SetAllowedSubOperators(xor, allFunctions);
     96      //SetAllowedSubOperators(xor, allFunctions);
    9797
    9898      operatorLibrary = new GPOperatorLibrary();
    9999      operatorLibrary.GPOperatorGroup.AddOperator(and);
    100100      operatorLibrary.GPOperatorGroup.AddOperator(or);
    101       operatorLibrary.GPOperatorGroup.AddOperator(not);
     101      //operatorLibrary.GPOperatorGroup.AddOperator(not);
    102102      operatorLibrary.GPOperatorGroup.AddOperator(nand);
    103103      operatorLibrary.GPOperatorGroup.AddOperator(nor);
    104       operatorLibrary.GPOperatorGroup.AddOperator(xor);
     104      //operatorLibrary.GPOperatorGroup.AddOperator(xor);
    105105      operatorLibrary.GPOperatorGroup.AddOperator(variable);
    106106    }
Note: See TracChangeset for help on using the changeset viewer.