A linked path structure indexed by nodes is introduced to represent networks.
Additional conditions for backtracking are proposed based on the distance of each node.
An efficient algorithm is developed to find all MPs for two-terminal networks.
The computational efficiency of the algorithm for two-terminal networks is investigated.
The computational efficiency of the algorithm for multi-terminal networks is investigated.