Exemplo n.º 1
0
 public void addSolution(RotationSequence p_rotationLinkedList, Cube p_permutation, Solution p_prevSolution,
                         int p_value, int p_floor)
 {
     if (/*(p_value>=32 && getBestValue()>=36) ||*/ c_solutionList[p_value].Count < 40)
     {
         c_solutionList[p_value].Add(new SolutionNode(new Solution(p_rotationLinkedList.getCopy(), p_permutation.getCopy(), p_prevSolution)));
     }
 }
Exemplo n.º 2
0
 public void addRotationLinkedList(RotationSequence p_list)
 {
     //Console.Write("FFFFF");
     c_array.Add(p_list.getCopy());
 }
Exemplo n.º 3
0
 public Solution(RotationSequence p_rotationLinkedList, Cube p_permutation, Solution p_prevSolution)
 {
     c_rotationLinkedList = p_rotationLinkedList.getCopy();
     c_permutation        = p_permutation.getCopy();
     c_prevSolution       = p_prevSolution;
 }