Get weight¶
- getWeight(shortPath, forwardFlux)¶
Function used re-weight a path in order to obtain alternative paths.
USAGE:
W = getWeight(shortPath, forwardFlux)
- INPUT:
shortPath (int vector): common path forwardFlux (int matrix): list with the edges of the forward reactions
- OUTPUT:
W (int vector): weight vector