Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/26/14 16:28:09 (10 years ago)
Author:
bburlacu
Message:

#1772: Deleted unused VisualGenealogyGraphTextLabel.cs, fixed tracking code in BeforeManipulatorOperator.cs, re-added setters for vertex in- and outArcs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SymbolicDataAnalysisExpressionAfterCrossoverOperator.cs

    r10833 r10890  
    3030  public class SymbolicDataAnalysisExpressionAfterCrossoverOperator : AfterCrossoverOperator<ISymbolicExpressionTree> {
    3131    public override IOperation Apply() {
    32       var child = ChildParameter.ActualValue;
    33       var childVertex = (IGenealogyGraphNode)GenealogyGraph[child];
     32      var childVertex = (IGenealogyGraphNode<ISymbolicExpressionTree>)GenealogyGraph[ChildParameter.ActualValue];
    3433      var arcs = childVertex.InArcs.ToList();
    3534      var nodes0 = (List<ISymbolicExpressionTreeNode>)arcs[0].Data;
    3635      var nodes1 = (List<ISymbolicExpressionTreeNode>)arcs[1].Data;
    37       var childNodes = child.IterateNodesPrefix().ToList();
     36      var childNodes = childVertex.Content.IterateNodesPrefix().ToList();
    3837      IFragment<ISymbolicExpressionTreeNode> fragment = null;
    3938      for (int i = 0; i < Math.Min(nodes0.Count, childNodes.Count); ++i) {
Note: See TracChangeset for help on using the changeset viewer.