Changeset 14312 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionTreeNode.cs
- Timestamp:
- 09/28/16 15:59:11 (8 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionTreeNode.cs
r13875 r14312 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 43 43 } 44 44 45 // parent relation is not persisted or cloned (will be set on AddSubtree or RemoveSubtree)45 [Storable] 46 46 private ISymbolicExpressionTreeNode parent; 47 47 public ISymbolicExpressionTreeNode Parent { … … 91 91 if (subtrees != null) { 92 92 foreach (var subtree in subtrees) 93 subtree.Parent = this; 93 if (subtree.Parent == null) 94 subtree.Parent = this; 94 95 } 95 96 }
Note: See TracChangeset
for help on using the changeset viewer.