// use the UCB1 formula to select a child node public Node UctSelectChild() { var sorted = ChildNodes.OrderByDescending(Ucb1Formula); return(sorted.FirstOrDefault()); }