Skip to content

Commit 23a719c

Browse files
committed
compas.topology
1 parent 435b260 commit 23a719c

5 files changed

Lines changed: 2 additions & 43 deletions

File tree

src/compas/topology/__init__.py

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""
22
Package containing topological algorithms for traversal, connectivity, combinatorics, etc.
33
"""
4-
5-
from __future__ import absolute_import
4+
# ruff: noqa: F401
65

76
from .traversal import (
87
depth_first_ordering,
@@ -23,23 +22,3 @@
2322
edges_from_faces,
2423
faces_from_edges,
2524
)
26-
27-
__all__ = [
28-
"astar_lightest_path",
29-
"astar_shortest_path",
30-
"breadth_first_ordering",
31-
"breadth_first_traverse",
32-
"breadth_first_paths",
33-
"connected_components",
34-
"depth_first_ordering",
35-
"dijkstra_distances",
36-
"dijkstra_path",
37-
"edges_from_faces",
38-
"face_adjacency",
39-
"faces_from_edges",
40-
"shortest_path",
41-
"unify_cycles",
42-
"vertex_adjacency_from_edges",
43-
"vertex_adjacency_from_faces",
44-
"vertex_coloring",
45-
]

src/compas/topology/combinatorics.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
from __future__ import absolute_import
2-
from __future__ import division
3-
from __future__ import print_function
4-
51
from collections import deque
62

73
from compas.topology.traversal import breadth_first_traverse

src/compas/topology/connectivity.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
from __future__ import absolute_import
2-
from __future__ import division
3-
from __future__ import print_function
4-
51
from compas.itertools import pairwise
62

73

src/compas/topology/orientation.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
from __future__ import absolute_import
2-
from __future__ import division
3-
from __future__ import print_function
4-
51
from compas.geometry import centroid_points
62
from compas.itertools import pairwise
73
from compas.topology import breadth_first_traverse

src/compas/topology/traversal.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
1-
from __future__ import absolute_import
2-
from __future__ import division
3-
from __future__ import print_function
4-
5-
try:
6-
from queue import PriorityQueue
7-
except ImportError:
8-
from Queue import PriorityQueue # type: ignore
9-
101
from collections import deque
2+
from queue import PriorityQueue
113

124
from compas.geometry import distance_point_point
135

0 commit comments

Comments
 (0)