enumerate.loops: Enumerates all Loops in a (-1, 0, 1) Matrix
Description
Enumerates a list of all loops in a (-1, 0, 1) matrix.
Usage
enumerate.loops(CM)
Arguments
CM
A (-1, 0 1) matrix.
Value
A list of loops.
Details
The returned list of loops contains each loop in CM in breadth-first search order). Each element in a loop is represented by its variable number, and the first element also terminates each loop.
References
Puccia, C. J. and Levins, R. (1986) Qualitative Modeling of Complex Systems: An Introduction to Loop Analysis and Time Averaging. Cambridge: Harvard University Press.