Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/05/13 10:27:17 (11 years ago)
Author:
ascheibe
Message:

#1886 renamed some properties in SolutionInformation as suggested by swagner

Location:
branches/HeuristicLab.Analysis.AlgorithmBehavior/AlgorithmBehaviorUnitTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/AlgorithmBehaviorUnitTests/PermutationCacheTest.cs

    r10104 r10105  
    4242        //should be added
    4343        PermutationSolutionInformation pi = new PermutationSolutionInformation();
    44         pi.Generation = 9;
     44        pi.Iteration = 9;
    4545        pi.ProducedBy = ProducedBy.Mutation;
    4646        dict.Add(p, pi);
     
    4848        //should be added
    4949        pi = new PermutationSolutionInformation();
    50         pi.Generation = 10;
     50        pi.Iteration = 10;
    5151        pi.ProducedBy = ProducedBy.Mutation;
    5252        dict.Add(p, pi);
     
    5454        //should be added
    5555        pi = new PermutationSolutionInformation();
    56         pi.Generation = 10;
     56        pi.Iteration = 10;
    5757        pi.ProducedBy = ProducedBy.Crossover;
    5858        dict.Add(p, pi);
     
    6060        //should not be added
    6161        pi = new PermutationSolutionInformation();
    62         pi.Generation = 10;
     62        pi.Iteration = 10;
    6363        pi.ProducedBy = ProducedBy.Mutation;
    6464        dict.Add(p, pi);
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/AlgorithmBehaviorUnitTests/RealVectorSolutionCacheTest.cs

    r10104 r10105  
    5454        info = new RealVectorSolutionInformation();
    5555        info.ProducedBy = ProducedBy.Move;
    56         info.Generation = 20;
     56        info.Iteration = 20;
    5757        solutionCache.Add(vector, info);
    5858
Note: See TracChangeset for help on using the changeset viewer.