[#TxGraph-CountDistinctClusters] = xref:TxGraph.adoc[TxGraph]::CountDistinctClusters :relfileprefix: ../ :mrdocs: Count the number of distinct clusters that the specified transactions belong to. Refs that do not exist in the queried graph are ignored. Refs can not be null. The queried graph must not be oversized. == Synopsis Declared in `<txgraph.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual xref:TxGraph/GraphIndex.adoc[GraphIndex] CountDistinctClusters( std::span<Ref const const*> args, xref:TxGraph/Level.adoc[Level] level) noexcept = 0; ---- == Return Value The number of distinct clusters the transactions belong to. == Parameters [cols="1,4"] |=== | Name| Description | *args* | References to the transactions to inspect. | *level* | Which graph (main or staging) to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#