Changeset 12405 for branches/TerminationCriteria/HeuristicLab.Termination/3.3/TerminationOperator.cs
- Timestamp:
- 05/27/15 14:30:56 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TerminationCriteria/HeuristicLab.Termination/3.3/TerminationOperator.cs
r12404 r12405 31 31 [StorableClass] 32 32 public sealed class TerminationOperator : InstrumentedOperator { 33 public ILookupParameter<ITerminator> Terminat orParameter {34 get { return (ILookupParameter<ITerminator>)Parameters["Terminat or"]; }33 public ILookupParameter<ITerminator> TerminationParameter { 34 get { return (ILookupParameter<ITerminator>)Parameters["Termination"]; } 35 35 } 36 36 public ILookupParameter<BoolValue> TerminateParameter { … … 64 64 public TerminationOperator() 65 65 : base() { 66 Parameters.Add(new LookupParameter<ITerminator>("Terminat or", "The termination criteria which sould be checked."));66 Parameters.Add(new LookupParameter<ITerminator>("Termination", "The termination criteria which sould be checked.")); 67 67 Parameters.Add(new LookupParameter<BoolValue>("Terminate", "The parameter which will be set to determine if execution should be terminated or schould continue.")); 68 68 Parameters.Add(new OperatorParameter("ContinueBranch", "The operator which is executed if no termination criteria has met.")); … … 74 74 75 75 var placeholder = new Placeholder() { Name = "Check termination criteria (Placeholder)" }; 76 placeholder.OperatorParameter.ActualName = Terminat orParameter.Name;76 placeholder.OperatorParameter.ActualName = TerminationParameter.Name; 77 77 78 78 BeforeExecutionOperators.Add(assigner);
Note: See TracChangeset
for help on using the changeset viewer.