axon_synthesis.synthesis.main_trunk.steiner_tree¶
Compute the Steiner Tree.
The solution is computed using the package pcst_fast: https://github.com/fraenkel-lab/pcst_fast
Functions
|
Compute the Steiner Tree solution from the given nodes and edges. |
|
Plot the given triangulation for debugging purpose. |
- axon_synthesis.synthesis.main_trunk.steiner_tree.compute_solution(nodes: DataFrame, edges: DataFrame, *, output_path_nodes: str | PathLike | None = None, output_path_edges: str | PathLike | None = None, figure_path: str | PathLike | None = None, logger: Logger | LoggerAdapter | None = None)¶
Compute the Steiner Tree solution from the given nodes and edges.
- axon_synthesis.synthesis.main_trunk.steiner_tree.plot_solution(nodes, edges, figure_path, logger=None)¶
Plot the given triangulation for debugging purpose.