Class Chain<TNode>
Represents a chain of nodes in a chain decomposition.
Inheritance
System.Object
Chain<TNode>
Assembly: Edgar.dll
Syntax
public class Chain<TNode> : Object
Type Parameters
Constructors
Chain(List<TNode>, Int32)
Declaration
public Chain(List<TNode> nodes, int number)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<TNode> |
nodes |
|
System.Int32 |
number |
|
Properties
IsFromFace
Whether it was created from a face or from an acyclic component.
Declaration
public bool IsFromFace { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Nodes
Declaration
public List<TNode> Nodes { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<TNode> |
|
Number
Declaration
public int Number { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Equals(Chain<TNode>)
Declaration
protected bool Equals(Chain<TNode> other)
Parameters
Type |
Name |
Description |
Chain<TNode> |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Operators
Equality(Chain<TNode>, Chain<TNode>)
Declaration
public static bool operator ==(Chain<TNode> left, Chain<TNode> right)
Parameters
Type |
Name |
Description |
Chain<TNode> |
left |
|
Chain<TNode> |
right |
|
Returns
Type |
Description |
System.Boolean |
|
Inequality(Chain<TNode>, Chain<TNode>)
Declaration
public static bool operator !=(Chain<TNode> left, Chain<TNode> right)
Parameters
Type |
Name |
Description |
Chain<TNode> |
left |
|
Chain<TNode> |
right |
|
Returns
Type |
Description |
System.Boolean |
|