Changeset 763 for trunk/sources/HeuristicLab.GP.Boolean
- Timestamp:
- 11/15/08 16:47:45 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.Boolean/FunctionLibraryInjector.cs
r722 r763 73 73 And and = new And(); 74 74 Or or = new Or(); 75 Not not = new Not();75 //Not not = new Not(); 76 76 Nand nand = new Nand(); 77 77 Nor nor = new Nor(); 78 Xor xor = new Xor();78 //Xor xor = new Xor(); 79 79 variable = new HeuristicLab.GP.Boolean.Variable(); 80 80 … … 82 82 and, 83 83 or, 84 not,84 //not, 85 85 nand, 86 86 nor, 87 xor,87 //xor, 88 88 variable 89 89 }; … … 91 91 SetAllowedSubOperators(and, allFunctions); 92 92 SetAllowedSubOperators(or, allFunctions); 93 SetAllowedSubOperators(not, allFunctions);93 //SetAllowedSubOperators(not, allFunctions); 94 94 SetAllowedSubOperators(nand, allFunctions); 95 95 SetAllowedSubOperators(nor, allFunctions); 96 SetAllowedSubOperators(xor, allFunctions);96 //SetAllowedSubOperators(xor, allFunctions); 97 97 98 98 operatorLibrary = new GPOperatorLibrary(); 99 99 operatorLibrary.GPOperatorGroup.AddOperator(and); 100 100 operatorLibrary.GPOperatorGroup.AddOperator(or); 101 operatorLibrary.GPOperatorGroup.AddOperator(not);101 //operatorLibrary.GPOperatorGroup.AddOperator(not); 102 102 operatorLibrary.GPOperatorGroup.AddOperator(nand); 103 103 operatorLibrary.GPOperatorGroup.AddOperator(nor); 104 operatorLibrary.GPOperatorGroup.AddOperator(xor);104 //operatorLibrary.GPOperatorGroup.AddOperator(xor); 105 105 operatorLibrary.GPOperatorGroup.AddOperator(variable); 106 106 }
Note: See TracChangeset
for help on using the changeset viewer.