Changeset 4293


Ignore:
Timestamp:
08/23/10 16:49:22 (12 years ago)
Author:
svonolfe
Message:

Added Zhu Encoding (#1039)

Location:
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3
Files:
12 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/Encodings/General/PermutationEncoding.cs

    r4268 r4293  
    2727using System.Collections.Generic;
    2828using HeuristicLab.Problems.VehicleRouting.Encodings.General;
     29using System;
    2930
    3031namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
     
    4748      : base() {
    4849    }
     50
     51    public int IndexOf(int city) {
     52      return Array.IndexOf(this.array, city);
     53    }
    4954  }
    5055}
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.3/HeuristicLab.Problems.VehicleRouting-3.3.csproj

    r4268 r4293  
    166166    <Compile Include="Encodings\Prins\Manipulators\PrinsPermutationManipulator.cs" />
    167167    <Compile Include="Encodings\Prins\PrinsEncoding.cs" />
     168    <Compile Include="Encodings\Zhu\Crossovers\ZhuMergeCrossover2.cs" />
     169    <Compile Include="Encodings\Zhu\Crossovers\ZhuMergeCrossover1.cs" />
     170    <Compile Include="Encodings\Zhu\Crossovers\ZhuHeuristicCrossover2.cs" />
     171    <Compile Include="Encodings\Zhu\Crossovers\ZhuHeuristicCrossover1.cs" />
     172    <Compile Include="Encodings\Zhu\Crossovers\ZhuCrossover.cs" />
     173    <Compile Include="Encodings\Zhu\Crossovers\ZhuPermutationCrossover.cs" />
     174    <Compile Include="Encodings\Zhu\Manipulators\ZhuPermutationManipulator.cs" />
     175    <Compile Include="Encodings\Zhu\Manipulators\ZhuManipulator.cs" />
     176    <Compile Include="Encodings\Zhu\ZhuEncoding.cs" />
    168177    <Compile Include="Interfaces\IVRPMoveMaker.cs" />
    169178    <Compile Include="TSPLIBParser.cs" />
Note: See TracChangeset for help on using the changeset viewer.