Changeset 9247 for branches/HeuristicLab.EvolutionaryTracking
- Timestamp:
- 02/27/13 13:21:08 (12 years ago)
- Location:
- branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/DirectedGraph/Vertex.cs
r9238 r9247 41 41 } 42 42 } 43 44 [StorableConstructor] 45 public Vertex(bool deserializing) { } 43 46 44 47 public Vertex() { -
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/HeuristicLab.EvolutionaryTracking-3.4.csproj
r9238 r9247 91 91 <Compile Include="Analyzers\Fragments\SymbolicExpressionTreeRelativeFragmentDepthAnalyzer.cs" /> 92 92 <Compile Include="Analyzers\Fragments\SymbolicExpressionTreeFragmentLengthsAnalyzer.cs" /> 93 <Compile Include="Analyzers\GeneticOperator sAverageImprovementAnalyzer.cs" />93 <Compile Include="Analyzers\GeneticOperatorImprovementAnalyzer.cs" /> 94 94 <Compile Include="Analyzers\SymbolicExpressionTreeFrequentPatternsAnalyzer.cs" /> 95 95 <Compile Include="Analyzers\Fragments\SymbolicExpressionTreeFragmentsAnalyzer.cs" /> -
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/Operators/LineageAggregator.cs
r9238 r9247 94 94 if (!Results.ContainsKey(LineageExplorerParameterName)) 95 95 Results.Add(new Result(LineageExplorerParameterName, lineageExplorer)); 96 else Results[LineageExplorerParameterName].Value = lineageExplorer; 96 else Results[LineageExplorerParameterName].Value = lineageExplorer; 97 97 98 98 return base.Apply(); -
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/Operators/SymbolicExpressionTreeGenealogyGraphBuilder.cs
r9238 r9247 252 252 var tree = node.SymbolicExpressionTree; 253 253 if (!GlobalTraceMap.ContainsKey(tree)) { 254 var nodes = graph.GetGraphNodes(tree); 255 if (nodes.Count > 1) { 256 // link elites from previous generation 257 var last = nodes[nodes.Count - 2]; 258 var arc = new Arc { Source = last, Target = node, Data = new Fragment(null) }; 259 last.AddForwardArc(arc); 260 node.AddReverseArc(arc); 261 } 254 262 continue; 255 263 } -
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking/3.4/SymbolicExpressionTreeGenealogyGraph.cs
r9082 r9247 83 83 } 84 84 85 [StorableClass] 85 86 public class SymbolicExpressionGenealogyGraphNode : Vertex { 86 87 public ISymbolicExpressionTree SymbolicExpressionTree { … … 91 92 public bool IsElite { get; set; } 92 93 public double Rank { get; set; } 94 95 [StorableConstructor] 96 public SymbolicExpressionGenealogyGraphNode(bool deserializing) : base(deserializing) { } 93 97 94 98 public SymbolicExpressionGenealogyGraphNode() { }
Note: See TracChangeset
for help on using the changeset viewer.