Changeset 178
- Timestamp:
- 04/24/08 14:09:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.StructureIdentification/GPOperatorGroup.cs
r155 r178 94 94 op.AddVariable(new Variable(GPOperatorLibrary.ALLOWED_SUBOPERATORS, new ItemList())); 95 95 } 96 if(op.GetVariable(GPOperatorLibrary.TICKETS) == null) { 97 op.AddVariable(new Variable(GPOperatorLibrary.TICKETS, new DoubleData(1.0))); 98 } 96 99 97 100 RecalculateAllowedSuboperators(); … … 281 284 public override void RemoveOperator(IOperator op) { 282 285 base.RemoveOperator(op); 283 284 286 op.RemoveVariable(GPOperatorLibrary.MANIPULATION); 285 287 op.RemoveVariable(GPOperatorLibrary.INITIALIZATION); … … 288 290 op.RemoveVariable(GPOperatorLibrary.MIN_TREE_HEIGHT); 289 291 op.RemoveVariable(GPOperatorLibrary.ALLOWED_SUBOPERATORS); 292 op.RemoveVariable(GPOperatorLibrary.TICKETS); 290 293 291 294 OnOperatorRemoved(op);
Note: See TracChangeset
for help on using the changeset viewer.