Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2914


Ignore:
Timestamp:
03/02/10 18:01:49 (14 years ago)
Author:
abeham
Message:

Added test project for RealVector
Updated documentation in BLX-a #890

Location:
trunk/sources
Files:
10 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab 3.3.sln

    r2911 r2914  
    174174EndProject
    175175Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Encodings.Permutation-3.3.Tests", "HeuristicLab.Encodings.Permutation\3.3\Tests\HeuristicLab.Encodings.Permutation-3.3.Tests.csproj", "{4D59BEC9-A69E-4686-B8C9-0E6C073B093E}"
     176EndProject
     177Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Encodings.RealVector-3.3.Tests", "HeuristicLab.Encodings.RealVector\3.3\Tests\HeuristicLab.Encodings.RealVector-3.3.Tests.csproj", "{446C4F3D-1A12-465A-9128-97D0F47140C9}"
    176178EndProject
    177179Global
     
    774776    {4D59BEC9-A69E-4686-B8C9-0E6C073B093E}.Release|x86.ActiveCfg = Release|x86
    775777    {4D59BEC9-A69E-4686-B8C9-0E6C073B093E}.Release|x86.Build.0 = Release|x86
     778    {446C4F3D-1A12-465A-9128-97D0F47140C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
     779    {446C4F3D-1A12-465A-9128-97D0F47140C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
     780    {446C4F3D-1A12-465A-9128-97D0F47140C9}.Debug|x64.ActiveCfg = Debug|x64
     781    {446C4F3D-1A12-465A-9128-97D0F47140C9}.Debug|x64.Build.0 = Debug|x64
     782    {446C4F3D-1A12-465A-9128-97D0F47140C9}.Debug|x86.ActiveCfg = Debug|x86
     783    {446C4F3D-1A12-465A-9128-97D0F47140C9}.Debug|x86.Build.0 = Debug|x86
     784    {446C4F3D-1A12-465A-9128-97D0F47140C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
     785    {446C4F3D-1A12-465A-9128-97D0F47140C9}.Release|Any CPU.Build.0 = Release|Any CPU
     786    {446C4F3D-1A12-465A-9128-97D0F47140C9}.Release|x64.ActiveCfg = Release|Any CPU
     787    {446C4F3D-1A12-465A-9128-97D0F47140C9}.Release|x86.ActiveCfg = Release|Any CPU
    776788  EndGlobalSection
    777789  GlobalSection(SolutionProperties) = preSolution
  • trunk/sources/HeuristicLab.Encodings.RealVector/3.3/Crossovers/BlendAlphaCrossover.cs

    r2913 r2914  
    5555    /// Here min_i and max_i are the smaller and larger value of the two parents at position i and d is max_i - min_i.
    5656    /// </summary>
    57     /// <exception cref="ArgumentException">Thrown when <paramref name="parent1"/> and <paramref name="parent2"/> are of different length.</exception>
     57    /// <exception cref="ArgumentException">
     58    /// Thrown when <paramref name="parent1"/> and <paramref name="parent2"/> are of different length or<br/>
     59    /// when <paramref name="alpha"/> is less than 0.
     60    /// </exception>
    5861    /// <param name="random">The random number generator.</param>
    5962    /// <param name="parent1">The first parent for the crossover operation.</param>
     
    6366    public static DoubleArrayData Apply(IRandom random, DoubleArrayData parent1, DoubleArrayData parent2, DoubleData alpha) {
    6467      if (parent1.Length != parent2.Length) throw new ArgumentException("BlendAlphaCrossover: The parents' vectors are of different length.", "parent1");
     68      if (alpha.Value < 0) throw new ArgumentException("BlendAlphaCrossover: Paramter alpha must be greater or equal than 0.", "alpha");
    6569      int length = parent1.Length;
    6670      DoubleArrayData result = new DoubleArrayData(length);
  • trunk/sources/HeuristicLab.Encodings.RealVector/3.3/HeuristicLab.Encodings.RealVector-3.3.csproj

    r2913 r2914  
    9696    </Compile>
    9797    <Compile Include="HeuristicLabEncodingsRealVectorPlugin.cs" />
     98    <Compile Include="Manipulators\UniformOnePositionManipulator.cs" />
    9899    <None Include="HeuristicLab.snk" />
    99100    <None Include="Properties\AssemblyInfo.frame" />
     
    137138    </ProjectReference>
    138139  </ItemGroup>
    139   <ItemGroup>
    140     <Folder Include="Manipulators\" />
    141   </ItemGroup>
    142140  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    143141  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Note: See TracChangeset for help on using the changeset viewer.