Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12368


Ignore:
Timestamp:
04/29/15 17:19:59 (10 years ago)
Author:
pfleck
Message:

#2027 Fixed some typos.

Location:
branches/TerminationCriteria
Files:
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/TerminationCriteria/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithm.cs

    r12366 r12368  
    230230    private ComparisonTerminationCriterion<DoubleValue> qualityTerminationCriterion;
    231231    [Storable]
    232     private ExecutionTimeTimeTerminationCriterion executionTimeTerminationCriterion;
     232    private ExecutionTimeTerminationCriterion executionTimeTerminationCriterion;
    233233    #endregion
    234234
     
    355355      maximumSelectionPressureTerminationCriterion = new ComparisonTerminationCriterion<DoubleValue>("SelectionPressure", "MaximumSelectionPressure", ComparisonType.GreaterOrEqual) { Name = "Maximum Selection Pressure" };
    356356      qualityTerminationCriterion = new ComparisonTerminationCriterion<DoubleValue>() { Name = "Maximum/Minimum Quality" };
    357       executionTimeTerminationCriterion = new ExecutionTimeTimeTerminationCriterion(this, TimeSpan.FromMinutes(5)) { Name = "Maximum Execution Time" };
     357      executionTimeTerminationCriterion = new ExecutionTimeTerminationCriterion(this, TimeSpan.FromMinutes(5)) { Name = "Maximum Execution Time" };
    358358      ParameterizeTerminationCriteria();
    359359      UpdateTerminationCriteria();
  • branches/TerminationCriteria/HeuristicLab.Termination/3.3/ComparisonTerminationCriterion.cs

    r12366 r12368  
    2828
    2929namespace HeuristicLab.Termination {
    30   [Item("ComparisonTerminationCriterion", "An termination criterion which compares to values.")]
     30  [Item("ComparisonTerminationCriterion", "An termination criterion which compares two values.")]
    3131  [StorableClass]
    3232  public class ComparisonTerminationCriterion<T> : ThresholdTerminationCriterion<T> where T : class, IItem, IComparable {
  • branches/TerminationCriteria/HeuristicLab.Termination/3.3/ExecutionTimeTerminationCriterion.cs

    r12366 r12368  
    2727
    2828namespace HeuristicLab.Termination {
    29   [Item("ExecutionTimeTimeTerminationCriterion", "")]
     29  [Item("ExecutionTimeTerminationCriterion", "A termination criterion based on execution time of an algorithm.")]
    3030  [StorableClass]
    31   public class ExecutionTimeTimeTerminationCriterion : ThresholdTerminationCriterion<TimeSpanValue> {
     31  public class ExecutionTimeTerminationCriterion : ThresholdTerminationCriterion<TimeSpanValue> {
    3232
    3333    [Storable]
     
    3535
    3636    [StorableConstructor]
    37     protected ExecutionTimeTimeTerminationCriterion(bool deserializing) : base(deserializing) { }
    38     protected ExecutionTimeTimeTerminationCriterion(ExecutionTimeTimeTerminationCriterion original, Cloner cloner)
     37    protected ExecutionTimeTerminationCriterion(bool deserializing) : base(deserializing) { }
     38    protected ExecutionTimeTerminationCriterion(ExecutionTimeTerminationCriterion original, Cloner cloner)
    3939      : base(original, cloner) {
    4040      executable = cloner.Clone(executable);
    4141    }
    4242    public override IDeepCloneable Clone(Cloner cloner) {
    43       return new ExecutionTimeTimeTerminationCriterion(this, cloner);
     43      return new ExecutionTimeTerminationCriterion(this, cloner);
    4444    }
    45     public ExecutionTimeTimeTerminationCriterion(IExecutable executable)
     45    public ExecutionTimeTerminationCriterion(IExecutable executable)
    4646      : this(executable, new TimeSpan(0, 10, 0)) { }
    47     public ExecutionTimeTimeTerminationCriterion(IExecutable executable, TimeSpan maximumExecutionTime) {
     47    public ExecutionTimeTerminationCriterion(IExecutable executable, TimeSpan maximumExecutionTime) {
    4848      this.executable = executable;
    4949      ThresholdParameter.Value = new TimeSpanValue(maximumExecutionTime);
  • branches/TerminationCriteria/HeuristicLab.Termination/3.3/HeuristicLab.Termination-3.3.csproj

    r12366 r12368  
    151151    <Compile Include="ComparisonTerminationCriterion.cs" />
    152152    <Compile Include="MultiTerminationCriterion.cs" />
    153     <Compile Include="ExecutionTimeTimeTerminationCriterion.cs" />
     153    <Compile Include="ExecutionTimeTerminationCriterion.cs" />
    154154    <Compile Include="TerminationCriterion.cs" />
    155155    <Compile Include="TerminationOperator.cs" />
  • branches/TerminationCriteria/HeuristicLab.Termination/3.3/ThresholdTerminationCriterion.cs

    r12367 r12368  
    2727
    2828namespace HeuristicLab.Termination {
    29   [Item("ThreshholdTerminationCriterion", "Basis class for all termination criteria which specifies some form of threshold.")]
     29  [Item("ThresholdTerminationCriterion", "Base class for all termination criteria which specifies some threshold.")]
    3030  [StorableClass]
    3131  public abstract class ThresholdTerminationCriterion<T> : TerminationCriterion where T : class, IItem {
Note: See TracChangeset for help on using the changeset viewer.