cotengra.pathfinders.path_edgesort¶
Classes¶
A path optimizer that proceeds by contacting edges in sorted order, as |
Module Contents¶
- class cotengra.pathfinders.path_edgesort.EdgeSortOptimizer(reverse=False)[source]¶
Bases:
cotengra.oe.PathOptimizer
A path optimizer that proceeds by contacting edges in sorted order, as is the default in the original ncon function. The path is thus specified entirely by the naming of the edges.
- Parameters:
reverse (bool, optional) – If True, the edges are sorted in reverse order. The default is False.
- reverse = False¶