public LeastSqureError(LeastSqureError father) { _expression = father._expression.DeepCopy(); _timeSerials = father._timeSerials; _timeSpan = father._timeSpan; }
public void CrossOver(LeastSqureError siblings) { TreeNodeBase self = GetExpression(); TreeNodeBase other = siblings.GetExpression(); TreeNodeBase selfsub = self.FindSubTree(); TreeNodeBase othersub = other.FindSubTree(); if (selfsub != null && othersub != null) { var temp = selfsub; selfsub = othersub; othersub = temp; } }