private MinBorderNode transformNode(IHas <INodeLogic> arg)
        {
            var newNode = new MinBorderNode(arg);

            newNode.UnSelectedNeighbours = arg.Logic.Neighbours.Count();

            return(newNode);
        }
 public MinBorderAction(MinBorderInstance position, MinBorderNode nextNode)
 {
     Position = position;
     NextNode = nextNode;
 }