Directed graph. More...

## Static Public Member Functions | |

static Stack< T > | GetHierarchyStack (T node) |

Obtain hierarchy stack from a specific node. | |

## Properties | |

T | RootNode` [get, set]` |

Directed graph root node. |

class Derm::Util::DirectedGraph< T >

Directed graph.

**Template Parameters:**-
*T*The type parameter *T*shall derive from DirectedGraphNode, allowing the definition of the arcs to other nodes.

A directed graph is defined as a set of nodes connected with a set of directed edges. In this implementation the directed graph has only one root node, and the nodes base implementation is determined from *T* .

**Type Constraints**-
*T*: *DirectedGraphNode*

template<T >

static Stack<T> Derm.Util.DirectedGraph< T >.GetHierarchyStack | ( | T | node |
) | ` [static]` |

Obtain hierarchy stack from a specific node.

**Parameters:**-
*node*A T which derives from DirectedGraphNode.

**Returns:**- A Stack<T>

template<T >

T Derm.Util.DirectedGraph< T >.RootNode` [get, set]` |

Directed graph root node.

Services powered by