public void Put(ITree <JumpNode> item) { var jumpNode = item.Node; _performMoves.Perform(jumpNode.LastMove); var value = _valueOfGraph.GetValue(jumpNode.ActualGraph); _inner.Add(value, item); _performMoves.Undo(jumpNode.LastMove); }
public void OnLeave(ITree <JumpNode> node, ITreeSearchContinuation treeSearchContinuation) { _performMoves.Undo(node.Node.LastMove); _acutalMoves.Pop(); }