Summary
Represents a node in the poset graph. A node represents a single equivalence class,
and maintains two sets of links to nearby nodes - specifically, those representing
the just-larger and the just-smaller equivalence classes.
Generic type parameters
Constructors
|
Creates a new node and initialises it with the single element. A node is only
permitted to exist if it contains at least one element.
|
Instance methods
void | |
Adds the specified element to this node. The element must be from the same equivalence
class as those elements already in the node, otherwise ArgumentException is thrown.
|
PartialComparisonResult | |
Compares this node to the other node, using the partial comparison implemented
by the elements stored in the two nodes.
|
PartialComparisonResult | |
Compares this node to the specified element, using the partial comparison implemented
by the elements stored in the two nodes.
|
string | |
Returns a string enumerating all the elements stored in the node, separated by a comma.
|
Instance properties
ReadOnlyCollection<T> | |
Exposes a read-only collection of the elements comprising this equivalence class.
To add more elements, use PosetNode<T>.AddElement(T) |
ReadOnlyCollection<PosetNode<T>> | | Gets a read-only collection of all nodes which are just-larger than this one. |
ReadOnlyCollection<PosetNode<T>> | | Gets a read-only collection of all nodes which are just-smaller than this one. |