Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/15/11 13:34:38 (13 years ago)
Author:
mkommend
Message:

#1418: Finally added results from the grammar refactoring.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/CutPoint.cs

    r5674 r5686  
    2222
    2323namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding {
    24   internal class CrossoverPoint {
     24  internal class CutPoint {
    2525    public ISymbolicExpressionTreeNode Parent { get; set; }
    2626    public ISymbolicExpressionTreeNode Child { get; set; }
    27     public int SubtreeIndex {
    28       get { return Parent.IndexOfSubTree(Child); }
     27    private int childIndex;
     28    public int ChildIndex {
     29      get { return childIndex; }
    2930    }
    30     public CrossoverPoint(ISymbolicExpressionTreeNode parent, ISymbolicExpressionTreeNode child) {
     31    public CutPoint(ISymbolicExpressionTreeNode parent, ISymbolicExpressionTreeNode child) {
    3132      this.Parent = parent;
    3233      this.Child = child;
     34      this.childIndex = parent.IndexOfSubTree(child);
    3335    }
    3436  }
Note: See TracChangeset for help on using the changeset viewer.