Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/16/10 00:56:44 (14 years ago)
Author:
swagner
Message:

Renamed solution encoding plugins (#909)

Location:
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3

    • Property svn:ignore
      •  

        old new  
        22bin
        33obj
        4 HeuristicLabEncodingsPermutationPlugin.cs
         4HeuristicLabEncodingsPermutationEncodingPlugin.cs
  • trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Tests/Swap2ManipulatorTest.cs

    r2930 r3053  
    2121
    2222using Microsoft.VisualStudio.TestTools.UnitTesting;
    23 using HeuristicLab.Encodings.Permutation;
     23using HeuristicLab.Encodings.PermutationEncoding;
    2424
    25 namespace HeuristicLab.Encodings.Permutation_33.Tests {
     25namespace HeuristicLab.Encodings.PermutationEncoding_33.Tests {
    2626  /// <summary>
    2727  ///This is a test class for Swap2Manipulator and is intended
     
    8484    public void Swap2ManipulatorApplyTest() {
    8585      TestRandom random = new TestRandom();
    86       Permutation.Permutation parent, expected;
     86      Permutation parent, expected;
    8787      // The following test is based on an example from Eiben, A.E. and Smith, J.E. 2003. Introduction to Evolutionary Computation. Natural Computing Series, Springer-Verlag Berlin Heidelberg, p. 45
    8888      random.Reset();
    8989      random.IntNumbers = new int[] { 1, 4 };
    90       parent = new Permutation.Permutation(new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8 });
     90      parent = new Permutation(new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8 });
    9191      Assert.IsTrue(parent.Validate());
    9292
    93       expected = new Permutation.Permutation(new int[] { 0, 4, 2, 3, 1, 5, 6, 7, 8 });
     93      expected = new Permutation(new int[] { 0, 4, 2, 3, 1, 5, 6, 7, 8 });
    9494      Assert.IsTrue(expected.Validate());
    9595      Swap2Manipulator.Apply(random, parent);
Note: See TracChangeset for help on using the changeset viewer.