Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/24/09 11:37:28 (15 years ago)
Author:
gkronber
Message:

Implemented #762 (ValidationQuality improvment progress as additional stopping criterion for default StructId Engines)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP.Algorithms/3.2/AlgorithmBase.cs

    r2377 r2385  
    495495    }
    496496    #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    }
    497511  }
    498512}
Note: See TracChangeset for help on using the changeset viewer.