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

Modify this transaction graph, adding multiple parents to a specified child&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
AddDependencies(
    SetType const& parents,
    xref:cluster_linearize/DepGraphIndex.adoc[DepGraphIndex] child) noexcept;
----

== Description

Complexity&colon; O(N) where N&equals;TxCount()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *parents*
| The set of parent positions to add&period;
| *child*
| The child position that gains the parents&period;
|===


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