private IEnumerable <TVertex> GetTopologicallyFirstVertices(IEnumerable <TVertex> vertices) { return(_sortOrder == TopologicalSortOrder.SinksFirst ? _unprocessedGraph.GetSinks(vertices) : _unprocessedGraph.GetSources(vertices)); }
private IEnumerable <TVertex> GetTopologicallyFirstVertices(IEnumerable <TVertex> vertices) { return(_sortOrder == TopologicalSortOrder.SinksFirst ? _unprocessedGraph.GetSinks(vertices) : _unprocessedGraph.GetSources(vertices)); }