pub fn find_cycle(
model: &Model,
) -> Result<Option<SequenceCycle>, ScheduleReadError>Expand description
The first cycle in the whole sequence graph, if any.
Walks from every IfcProcess (tasks, procedures and events alike), so a
cycle through a non-task process, or in a disconnected component, is
still found (#236).
ยงErrors
ScheduleReadError::SequenceDepthExceeded when a chain is longer than
MAX_SEQUENCE_DEPTH, since a truncated search cannot say there is no
cycle, and the binding refusals of sequences.