Changeset 1335
- Timestamp:
- 03/12/09 14:39:44 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/AlgorithmBase.cs
r1287 r1335 34 34 using HeuristicLab.Data; 35 35 using HeuristicLab.Operators.Programmable; 36 using HeuristicLab.Evolutionary; 36 37 37 38 namespace HeuristicLab.GP.StructureIdentification { … … 343 344 selector.Name = "Selector (extr.)"; 344 345 selector.GetVariableInfo("Operator").ActualName = "Selector"; 346 345 347 SequentialSubScopesProcessor seqScopesProc = new SequentialSubScopesProcessor(); 346 348 EmptyOperator emptyOpt = new EmptyOperator(); 347 349 SequentialProcessor selectedProc = new SequentialProcessor(); 350 ChildrenInitializer childInitializer = new ChildrenInitializer(); 351 ((IntData)childInitializer.GetVariable("ParentsPerChild").Value).Data = 2; 352 348 353 OperatorExtractor crossover = new OperatorExtractor(); 349 354 crossover.Name = "Crossover (extr.)"; … … 365 370 Counter evalCounter = new Counter(); 366 371 evalCounter.GetVariableInfo("Value").ActualName = "EvaluatedSolutions"; 372 SubScopesRemover parentRefRemover = new SubScopesRemover(); 367 373 368 374 Sorter sorter = new Sorter(); … … 375 381 seqScopesProc.AddSubOperator(emptyOpt); 376 382 seqScopesProc.AddSubOperator(selectedProc); 377 selectedProc.AddSubOperator(c rossover);383 selectedProc.AddSubOperator(childInitializer); 378 384 selectedProc.AddSubOperator(individualProc); 379 385 individualProc.AddSubOperator(individualSeqProc); 386 individualSeqProc.AddSubOperator(crossover); 380 387 individualSeqProc.AddSubOperator(cond); 381 388 cond.AddSubOperator(manipulator); … … 383 390 individualSeqProc.AddSubOperator(validationEvaluator); 384 391 individualSeqProc.AddSubOperator(evalCounter); 392 individualSeqProc.AddSubOperator(parentRefRemover); 385 393 selectedProc.AddSubOperator(sorter); 386 394
Note: See TracChangeset
for help on using the changeset viewer.