Class TwoStageChainDecomposition<TNode>
Chain decomposition for layout generators with two-stage generation.
Inheritance
System.Object
TwoStageChainDecomposition<TNode>
Implements
IChainDecomposition<TNode>
Namespace: Edgar.Legacy.Core.ChainDecompositions
Assembly: Edgar.dll
Syntax
public class TwoStageChainDecomposition<TNode> : Object, IChainDecomposition<TNode>
Type Parameters
Name | Description |
---|---|
TNode |
Constructors
TwoStageChainDecomposition(IMapDescription<TNode>, IChainDecomposition<TNode>)
Declaration
public TwoStageChainDecomposition(IMapDescription<TNode> mapDescription, IChainDecomposition<TNode> decomposition)
Parameters
Type | Name | Description |
---|---|---|
IMapDescription<TNode> | mapDescription | |
IChainDecomposition<TNode> | decomposition |
Methods
GetChains(IGraph<TNode>)
Declaration
public List<Chain<TNode>> GetChains(IGraph<TNode> graph)
Parameters
Type | Name | Description |
---|---|---|
IGraph<TNode> | graph |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<Chain<TNode>> |