Пример #1
0
    IEnumerator getPath()
    {
        GraphPath graph = new GraphPath(nodeValues, nodeEdges, decisionLevels);

        path = bfsOrDfs ? graph.getRouteBFS() : graph.getRouteDFS();
        yield return null;
    }