sketchkit.ordering.Fu package¶
Submodules¶
sketchkit.ordering.Fu.compute_cost module¶
sketchkit.ordering.Fu.direction module¶
- sketchkit.ordering.Fu.direction.determine_direction(prev: Vertex, start: Vertex, end: Vertex) bool[source]¶
Determine the direction of the line segment from prev to end. :param prev: The previous point. :type prev: Point :param start: The start point of the stroke. :type start: Point :param end: The end point of the stroke. :type end: Point
- Returns:
True if the direction is start to end, False otherwise.
- Return type:
bool
sketchkit.ordering.Fu.tsp_bnb module¶
Module contents¶
- class sketchkit.ordering.Fu.AnimatedDrawer(max_k: int = 4, w: float = 0.1111111, canvas_size: int = 800, canvas_color=(1, 1, 1), width: int = 4)[source]¶
Bases:
Orderer- _abc_impl = <_abc._abc_data object>¶