Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/22/14 23:10:21 (10 years ago)
Author:
bburlacu
Message:

#1772: Minor change to the GenealogyAnalyzer (remove properties for retrieving LookupParameter values).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/BeforeManipulatorOperator.cs

    r10897 r11032  
    2020#endregion
    2121
    22 using System;
    2322using System.Linq;
    2423using HeuristicLab.Common;
     
    5251      // since mutation always takes place after crossover, the vertex for the current child is already in the tree
    5352      var v = (IGenealogyGraphNode<T>)GenealogyGraph.GetVertex(ChildParameter.ActualValue);
    54 
    55       if (!v.Rank.IsAlmost(Generations.Value + 1)) {
    56         throw new Exception("Child rank should be generations.value + 1");
    57       }
    5853      var clone = (T)ChildParameter.ActualValue.Clone();
    5954
Note: See TracChangeset for help on using the changeset viewer.