[#cluster_linearize-DepGraph-AppendTopo]
= xref:cluster_linearize.adoc[cluster&lowbar;linearize]::xref:cluster_linearize/DepGraph.adoc[DepGraph]::AppendTopo
:relfileprefix: ../../
:mrdocs:

Append the entries of select to list in a topologically valid order&period;

== Synopsis

Declared in `&lt;cluster&lowbar;linearize&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
AppendTopo(
    std::vector&lt;DepGraphIndex&gt;& list,
    SetType const& select) const noexcept;
----

== Description

Complexity&colon; O(select&period;Count() &ast; log(select&period;Count()))&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *list*
| The vector to append positions to&period;
| *select*
| The set of positions to append&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
