Satsuma
a delicious .NET graph library
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Static Public Member Functions | Properties | List of all members
Satsuma.DisjointSetSet< T > Struct Template Reference

Represents a set in the DisjointSet data structure. More...

Inheritance diagram for Satsuma.DisjointSetSet< T >:

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

Representative [get, set]
 

Detailed Description

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.

Constructor & Destructor Documentation

Satsuma.DisjointSetSet< T >.DisjointSetSet ( representative)

Definition at line 36 of file DisjointSet.cs.

Member Function Documentation

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 bool Satsuma.DisjointSetSet< T >.operator!= ( DisjointSetSet< T >  a,
DisjointSetSet< T >  b 
)
static

Definition at line 58 of file DisjointSet.cs.

static bool Satsuma.DisjointSetSet< T >.operator== ( DisjointSetSet< T >  a,
DisjointSetSet< T >  b 
)
static

Definition at line 53 of file DisjointSet.cs.

override string Satsuma.DisjointSetSet< T >.ToString ( )

Definition at line 68 of file DisjointSet.cs.

Property Documentation

T Satsuma.DisjointSetSet< T >.Representative
getset

Definition at line 34 of file DisjointSet.cs.


The documentation for this struct was generated from the following file: