Satsuma
a delicious .NET graph library
|
Represents a set in the DisjointSet data structure. More...
Public Member Functions | |
DisjointSetSet (T representative) | |
bool | Equals (DisjointSetSet< T > other) |
override bool | Equals (object obj) |
override int | GetHashCode () |
override string | ToString () |
Static Public Member Functions | |
static bool | operator!= (DisjointSetSet< T > a, DisjointSetSet< T > b) |
static bool | operator== (DisjointSetSet< T > a, DisjointSetSet< T > b) |
Properties | |
T | Representative [get, set] |
Represents a set in the DisjointSet data structure.
The purpose is to ensure type safety by distinguishing between sets and their representatives.
Definition at line 32 of file DisjointSet.cs.
Satsuma.DisjointSetSet< T >.DisjointSetSet | ( | T | representative | ) |
Definition at line 36 of file DisjointSet.cs.
bool Satsuma.DisjointSetSet< T >.Equals | ( | DisjointSetSet< T > | other | ) |
Definition at line 42 of file DisjointSet.cs.
override bool Satsuma.DisjointSetSet< T >.Equals | ( | object | obj | ) |
Definition at line 47 of file DisjointSet.cs.
override int Satsuma.DisjointSetSet< T >.GetHashCode | ( | ) |
Definition at line 63 of file DisjointSet.cs.
|
static |
Definition at line 58 of file DisjointSet.cs.
|
static |
Definition at line 53 of file DisjointSet.cs.
override string Satsuma.DisjointSetSet< T >.ToString | ( | ) |
Definition at line 68 of file DisjointSet.cs.
|
getset |
Definition at line 34 of file DisjointSet.cs.