optiwindnet.repair¶

Module Contents¶

optiwindnet.repair.repair_routeset_path(Sʹ: networkx.Graph, A: networkx.Graph) networkx.Graph[source]¶

This is only able to repair crossings where one of the paths is split in either a leaf and a path or a hook and a path.

Parameters:
  • Sʹ – solution topology that contains non-branching rooted tree(s)

  • A – available edges used in creating Sʹ

Returns:

Topology without the crossing in a shallow copy of Sʹ.