public ActionSequence Clone() { var result = new ActionSequence(); foreach (iAction action in history) { result.Add(action); } return(result); }
public SearchNode(iDomain _state, ActionSequence _history = null) { state = _state; if (_history != null) { history = _history; } else { history = new ActionSequence(); } }