Changeset 6439:d5047c175cf3 for sage/graphs/graph_genus1.py
- Timestamp:
- 09/20/07 13:36:28 (6 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
sage/graphs/graph_genus1.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sage/graphs/graph_genus1.py
r5445 r6439 182 182 (3, 1)]])] 183 183 """ 184 from sage.combinat. combinat import cyclic_permutations_of_partition_iterator184 from sage.combinat.all import CyclicPermutationsOfPartition 185 185 186 186 graph = nice_copy(graph) … … 194 194 part.append(graph.neighbors(node)) 195 195 all_perms = [] 196 for p in cyclic_permutations_of_partition_iterator(part):196 for p in CyclicPermutationsOfPartition(part): 197 197 all_perms.append(p) 198 198 … … 279 279 [(5, 4), (4, 3), (3, 2), (2, 1), (1, 0), (0, 8), (8, 7), (7, 6), (6, 5)]])] 280 280 """ 281 from sage.combinat. combinat import cyclic_permutations_of_partition_iterator281 from sage.combinat.all import CyclicPermutationsOfPartition 282 282 283 283 graph = nice_copy(graph) … … 291 291 part.append(graph.neighbors(node)) 292 292 all_perms = [] 293 for p in cyclic_permutations_of_partition_iterator(part):293 for p in CyclicPermutationsOfPartition(part): 294 294 all_perms.append(p) 295 295
Note: See TracChangeset
for help on using the changeset viewer.
