Пример #1
0
        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);
        }
Пример #2
0
 public void OnLeave(ITree <JumpNode> node, ITreeSearchContinuation treeSearchContinuation)
 {
     _performMoves.Undo(node.Node.LastMove);
     _acutalMoves.Pop();
 }