Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/27/15 14:30:56 (9 years ago)
Author:
pfleck
Message:

#2027

  • Uses FixedValueParameters and added some properties.
  • Added the comparison-symbol in the string-representation of Terminators.
  • Renamed Terminator parameter to Termination to use a more neutral term.
  • Used Red-Flag as Termination-Icon.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/TerminationCriteria/HeuristicLab.Termination/3.3/TerminationOperator.cs

    r12404 r12405  
    3131  [StorableClass]
    3232  public sealed class TerminationOperator : InstrumentedOperator {
    33     public ILookupParameter<ITerminator> TerminatorParameter {
    34       get { return (ILookupParameter<ITerminator>)Parameters["Terminator"]; }
     33    public ILookupParameter<ITerminator> TerminationParameter {
     34      get { return (ILookupParameter<ITerminator>)Parameters["Termination"]; }
    3535    }
    3636    public ILookupParameter<BoolValue> TerminateParameter {
     
    6464    public TerminationOperator()
    6565      : base() {
    66       Parameters.Add(new LookupParameter<ITerminator>("Terminator", "The termination criteria which sould be checked."));
     66      Parameters.Add(new LookupParameter<ITerminator>("Termination", "The termination criteria which sould be checked."));
    6767      Parameters.Add(new LookupParameter<BoolValue>("Terminate", "The parameter which will be set to determine if execution should be terminated or schould continue."));
    6868      Parameters.Add(new OperatorParameter("ContinueBranch", "The operator which is executed if no termination criteria has met."));
     
    7474
    7575      var placeholder = new Placeholder() { Name = "Check termination criteria (Placeholder)" };
    76       placeholder.OperatorParameter.ActualName = TerminatorParameter.Name;
     76      placeholder.OperatorParameter.ActualName = TerminationParameter.Name;
    7777
    7878      BeforeExecutionOperators.Add(assigner);
Note: See TracChangeset for help on using the changeset viewer.