Adding sort in LD factorized paths to avoid combination problem
authorlbessard
Thu, 28 Aug 2008 14:32:42 +0200
changeset 244 05f6e0d7710c
parent 243 c5da8b706cde
child 245 fdd05081c966
Adding sort in LD factorized paths to avoid combination problem
PLCGenerator.py
--- a/PLCGenerator.py	Wed Aug 27 16:56:25 2008 +0200
+++ b/PLCGenerator.py	Thu Aug 28 14:32:42 2008 +0200
@@ -785,6 +785,7 @@
                     uncomputed_index.remove(num)
         for num in uncomputed_index:
             factorized_paths.append(paths[num])
+        factorized_paths.sort()
         return factorized_paths
 
     def GenerateLDPaths(self, connections, body):