Changeset 15281 for branches/Async/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionTreeNode.cs
- Timestamp:
- 07/23/17 11:17:18 (7 years ago)
- Location:
- branches/Async
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Async
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/Async/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding
- Property svn:mergeinfo changed
-
branches/Async/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionTreeNode.cs
r15280 r15281 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 { … … 87 87 if (subtrees != null) { 88 88 foreach (var subtree in subtrees) 89 subtree.Parent = this; 89 if (subtree.Parent == null) 90 subtree.Parent = this; 90 91 } 91 92 }
Note: See TracChangeset
for help on using the changeset viewer.