Changeset 12859


Ignore:
Timestamp:
08/13/15 16:04:40 (5 years ago)
Author:
abeham
Message:

#2431: Renamed AlgorithmIterator to IteratedAlgorithm

Location:
branches/PerformanceComparison/HeuristicLab.Analysis/3.3
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/HeuristicLab.Analysis-3.3.csproj

    r12856 r12859  
    199199    <Compile Include="MultiObjective\RankBasedParetoFrontAnalyzer.cs" />
    200200    <Compile Include="MultiObjective\ParetoFrontAnalyzer.cs" />
    201     <Compile Include="Optimizers\AlgorithmIterator.cs" />
     201    <Compile Include="Optimizers\IteratedAlgorithm.cs" />
    202202    <Compile Include="Optimizers\IRRestarter.cs" />
    203203    <Compile Include="Plugin.cs" />
  • branches/PerformanceComparison/HeuristicLab.Analysis/3.3/Optimizers/IteratedAlgorithm.cs

    r12856 r12859  
    3535  /// A run in which an algorithm is executed for a certain maximum time only.
    3636  /// </summary>
    37   [Item("Algorithm Iterator", "An algorithm that repeats an algorithm until either a certain target value is reached or a maximum budget is exceeded.")]
     37  [Item("Iterated Algorithm", "An algorithm that repeats an algorithm until either a certain target value is reached or a maximum budget is exceeded.")]
    3838  [Creatable(CreatableAttribute.Categories.TestingAndAnalysis, Priority = 116)]
    3939  [StorableClass]
    40   public sealed class AlgorithmIterator : Algorithm, IStorableContent {
     40  public sealed class IteratedAlgorithm : Algorithm, IStorableContent {
    4141    private const string ExecutionTimeResultName = "Execution Time";
    4242    private const string BestQualityResultName = "BestQuality";
     
    151151
    152152    [StorableConstructor]
    153     private AlgorithmIterator(bool deserializing) : base(deserializing) { }
    154     private AlgorithmIterator(AlgorithmIterator original, Cloner cloner)
     153    private IteratedAlgorithm(bool deserializing) : base(deserializing) { }
     154    private IteratedAlgorithm(IteratedAlgorithm original, Cloner cloner)
    155155      : base(original, cloner) {
    156156      results = cloner.Clone(original.Results);
     
    160160      RegisterEventHandlers();
    161161    }
    162     public AlgorithmIterator()
     162    public IteratedAlgorithm()
    163163      : base() {
    164164      results = new ResultCollection();
     
    178178    public override IDeepCloneable Clone(Cloner cloner) {
    179179      if (ExecutionState == ExecutionState.Started) throw new InvalidOperationException(string.Format("Clone not allowed in execution state \"{0}\".", ExecutionState));
    180       return new AlgorithmIterator(this, cloner);
     180      return new IteratedAlgorithm(this, cloner);
    181181    }
    182182
Note: See TracChangeset for help on using the changeset viewer.