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

`IsConnected` overloads

== Synopses

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

Determine if this entire graph is connected&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:cluster_linearize/DepGraph/IsConnected-0a.adoc[IsConnected]() const noexcept;
----

[.small]#xref:cluster_linearize/DepGraph/IsConnected-0a.adoc[_» more&period;&period;&period;_]#

Determine if a subset is connected&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:cluster_linearize/DepGraph/IsConnected-0d.adoc[IsConnected](SetType const& subset) const noexcept;
----

[.small]#xref:cluster_linearize/DepGraph/IsConnected-0d.adoc[_» more&period;&period;&period;_]#

== Return Value

* Whether all transactions form a single connected component&period;
* Whether subset forms a single connected component&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *subset*
| The set of positions to test&period;
|===


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