hatvis.problems.shortest_hyperpaths#

hatvis.problems.shortest_hyperpaths(D, sources, cost='sum')[source]#

Minimum B-hyperpath distances from sources (SBT procedure of Gallo et al. 1993).

The distance of a head vertex reached through hyperarc \(e\) is \(w_e+F(\{d(t):t\in T(e)\})\), with \(F=\sum\) ("sum": total traversal cost, e.g. assembly effort including all sub-assemblies) or \(F=\max\) ("max": rank / makespan with parallel preparation). Unreachable vertices get inf.

Examples using hatvis.problems.shortest_hyperpaths#

Directed hypergraphs: assembly feasibility and cost

Directed hypergraphs: assembly feasibility and cost