Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.TravelingSalesman/3.3/Analyzers/TSPGenealogyAnalyzer.cs @ 12892

Last change on this file since 12892 was 12892, checked in by bburlacu, 9 years ago

#1772: Made GenealogyAnalyzer class abstract and added abstract method EvaluateIntermediateChildren in order to assign qualities to intermediate vertices in the genealogy graph. Implemented SymbolicDataAnalysisGeneticOperatorImprovementAnalyzer which shows parent-child quality statistics for crossover and mutation.

File size: 976 bytes
Line 
1using HeuristicLab.Common;
2using HeuristicLab.Core;
3using HeuristicLab.Encodings.PermutationEncoding;
4using HeuristicLab.EvolutionTracking;
5using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
6
7namespace HeuristicLab.Problems.TravelingSalesman.Analyzers {
8  [StorableClass]
9  [Item("TSPGenealogyAnalyzer", "A genealogy analyzer for permutation encodings.")]
10  public class TSPGenealogyAnalyzer : GenealogyAnalyzer<Permutation> {
11    public TSPGenealogyAnalyzer() { }
12
13    [StorableConstructor]
14    protected TSPGenealogyAnalyzer(bool deserializing) : base(deserializing) { }
15
16    public TSPGenealogyAnalyzer(TSPGenealogyAnalyzer original, Cloner cloner) : base(original, cloner) {
17    }
18
19    public override IDeepCloneable Clone(Cloner cloner) {
20      return new TSPGenealogyAnalyzer(this, cloner);
21    }
22
23    protected override void EvaluateIntermediateChildren() {
24      throw new System.NotImplementedException();
25    }
26  }
27}
Note: See TracBrowser for help on using the repository browser.