- Timestamp:
- 09/24/09 11:37:28 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.Algorithms/3.2/AlgorithmBase.cs
r2377 r2385 495 495 } 496 496 #endregion 497 498 499 public static IOperator CombineTerminationCriterions(IOperator criterion1, IOperator criterion2) { 500 ConditionalBranch branch = new ConditionalBranch(); 501 branch.GetVariableInfo("Condition").ActualName = "TerminationCriterion"; 502 branch.AddSubOperator(new EmptyOperator()); 503 branch.AddSubOperator(criterion2); 504 505 SequentialProcessor seq = new SequentialProcessor(); 506 seq.AddSubOperator(criterion1); 507 seq.AddSubOperator(branch); 508 509 return seq; 510 } 497 511 } 498 512 }
Note: See TracChangeset
for help on using the changeset viewer.