Last change
on this file since 14821 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
|
Rev | Line | |
---|
[12892] | 1 | using HeuristicLab.Common;
|
---|
| 2 | using HeuristicLab.Core;
|
---|
[10300] | 3 | using HeuristicLab.Encodings.PermutationEncoding;
|
---|
| 4 | using HeuristicLab.EvolutionTracking;
|
---|
| 5 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
| 6 |
|
---|
| 7 | namespace HeuristicLab.Problems.TravelingSalesman.Analyzers {
|
---|
| 8 | [StorableClass]
|
---|
| 9 | [Item("TSPGenealogyAnalyzer", "A genealogy analyzer for permutation encodings.")]
|
---|
| 10 | public class TSPGenealogyAnalyzer : GenealogyAnalyzer<Permutation> {
|
---|
[11864] | 11 | public TSPGenealogyAnalyzer() { }
|
---|
| 12 |
|
---|
| 13 | [StorableConstructor]
|
---|
| 14 | protected TSPGenealogyAnalyzer(bool deserializing) : base(deserializing) { }
|
---|
[12892] | 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 | }
|
---|
[10300] | 26 | }
|
---|
| 27 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.