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

A set of transactions together with their aggregate feerate&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename SetType&gt;
struct SetInfo;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:cluster_linearize/SetInfo/2constructor-03.adoc[`SetInfo`]         [.small]#[constructor]#
| Constructors
| xref:cluster_linearize/SetInfo/Set.adoc[`Set`] 
| Add a transaction to this SetInfo (which must not yet be in it)&period;
| xref:cluster_linearize/SetInfo/operator_minus.adoc[`operator&hyphen;`] 
| Compute the difference between this and other SetInfo (which must be a subset)&period;
| xref:cluster_linearize/SetInfo/operator_minus_eq.adoc[`operator&hyphen;&equals;`] 
| Remove the transactions of other from this SetInfo (which must be a subset)&period;
| xref:cluster_linearize/SetInfo/operator_or_eq.adoc[`operator&verbar;&equals;`] 
| Add the transactions of other to this SetInfo (no overlap allowed)&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:cluster_linearize/SetInfo/feerate.adoc[`feerate`] 
| Their combined fee and size&period;
| xref:cluster_linearize/SetInfo/transactions.adoc[`transactions`] 
| The transactions in the set&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:cluster_linearize/operator_eq-05.adoc[cluster&lowbar;linearize::operator&equals;&equals;]`
| Permit equality testing&period;
| `xref:cluster_linearize/swap.adoc[cluster&lowbar;linearize::swap]`
| Swap two SetInfo objects&period;
|===

== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:cluster_linearize/ChunkLinearizationInfo.adoc[`ChunkLinearizationInfo`]
| Compute the chunks of linearization as SetInfos&period;
|===


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