Last change
on this file since 10264 was
10264,
checked in by bburlacu, 10 years ago
|
#1772: Created new branch for the redesigned version of the tracking plugin
|
File size:
1.3 KB
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using HeuristicLab.Common;
|
---|
4 | using HeuristicLab.Core;
|
---|
5 | using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
|
---|
6 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
7 |
|
---|
8 | namespace HeuristicLab.EvolutionaryTracking {
|
---|
9 | [StorableClass]
|
---|
10 | public class LineageExplorer : Item {
|
---|
11 | [Storable]
|
---|
12 | private ISymbolicExpressionTreeGenealogyGraph genealogyGraph;
|
---|
13 | public ISymbolicExpressionTreeGenealogyGraph GenealogyGraph { get { return genealogyGraph; } set { genealogyGraph = value; } }
|
---|
14 | [Storable]
|
---|
15 | private IList<Tuple<ISymbolicExpressionTree, double>> trees;
|
---|
16 | public IList<Tuple<ISymbolicExpressionTree, double>> Trees { get { return trees; } set { trees = value; } }
|
---|
17 | [Storable]
|
---|
18 | private int generations;
|
---|
19 | public int Generations { get { return generations; } set { generations = value; } }
|
---|
20 |
|
---|
21 | private LineageExplorer(bool deserializing) : base(deserializing) { }
|
---|
22 | private LineageExplorer(LineageExplorer original, Cloner cloner)
|
---|
23 | : base(original, cloner) {
|
---|
24 | genealogyGraph = original.genealogyGraph;
|
---|
25 | trees = original.trees;
|
---|
26 | generations = original.generations;
|
---|
27 | }
|
---|
28 | public LineageExplorer() { }
|
---|
29 | public override IDeepCloneable Clone(Cloner cloner) { return new LineageExplorer(this, cloner); }
|
---|
30 | }
|
---|
31 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.