Ejemplo n.º 1
0
    public void solveLab(string algorithm)
    {
        FrameWork myProblem = new FrameWork(colorsMatrixNormalized, Int32.Parse(nSize.text));

        foreach (var element in myProblem.initialStates)
        {
            Debug.Log(element[0] + ", " + element[1] + " 2");
        }
        GraphSearch  graph = new GraphSearch(myProblem, 1);
        List <int[]> path  = graph.JustDoIt();

        foreach (var element in path)
        {
            Debug.Log(element[0] + ", " + element[1]);
        }
    }