- Timestamp:
- 09/01/09 11:09:50 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3/OffspringSelectionGP.cs ¶
r2222 r2319 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Modeling; 24 using HeuristicLab.Operators; 24 25 25 26 namespace HeuristicLab.GP.StructureIdentification.Classification { … … 27 28 28 29 protected override IOperator CreateBestSolutionProcessor() { 29 IOperator seq = base.CreateBestSolutionProcessor(); 30 IOperator seq = new SequentialProcessor(); 31 seq.AddSubOperator(base.CreateBestSolutionProcessor()); 30 32 seq.AddSubOperator(StandardGP.BestSolutionProcessor); 31 33 return seq; -
TabularUnified trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3/StandardGP.cs ¶
r2222 r2319 27 27 public class StandardGP : HeuristicLab.GP.StructureIdentification.StandardGP, IClassificationAlgorithm { 28 28 protected override IOperator CreateBestSolutionProcessor() { 29 IOperator seq = base.CreateBestSolutionProcessor();30 seq.AddSubOperator(BestSolutionProcessor);31 return seq;29 IOperator bestSolutionProcessor = BestSolutionProcessor; 30 bestSolutionProcessor.AddSubOperator(base.CreateBestSolutionProcessor()); 31 return bestSolutionProcessor; 32 32 } 33 33 … … 76 76 } 77 77 } 78
Note: See TracChangeset
for help on using the changeset viewer.