Synced
DependencyGraph<TKey>.TryFindCycle
Section titled “DependencyGraph<TKey>.TryFindCycle”
- Tries to find one complete cycle in the graph.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Collections
Declaration
Section titled “Declaration”public bool Inno.Core.Collections.DependencyGraph<TKey>.TryFindCycle(out System.Collections.Generic.IReadOnlyList<TKey> cycle)Parameters
Section titled “Parameters”Parameter cycle: A closed cycle whose first and last nodes are equal, or an empty list when acyclic.
Returns
Section titled “Returns”true when a cycle was found.