incInverse(W, Q)
Every integral flow induces a weight on the vertices $Q_0$ as follows: Let $a \in Q_1$ be an arrow. The symbol $a^{+} \in Q_0$ denotes its head and the symbol $a^{-} \in Q_0$ denotes its tail. The so called incidence map generates a weight from the flow $\mathbf{w}$ by $$ \text{inc}(\mathbf{w})(i) := \sum_{a\in Q_1 \atop a^{+} = i} \mathbf{w}(a) - \sum_{a\in Q_1 \atop a^{-} = i} \mathbf{w}(a) \quad \text{ for all } i \in Q_0. $$ The function incInverse calculates a vector in the preimage of such a map.
|
|
|
The object incInverse is a method function.