public void FindPath() { boardStateGraph = board.GetBoardGraph(); Debug.Log(Graph.ToString(boardStateGraph)); QLearning qLearning = new QLearning(epochs, actions, rewards, boardStateGraph, learningRate, discountFactor); qLearning.Train(); solution = qLearning.GetPath(); StartMove(); }