Show / Hide Table of Contents

Interface IHierarchicalBidirectionalGraph<TVertex, TEdge>

Represents a hierarchical bidirectional graph.

Inherited Members
QuikGraph.IVertexSet<TVertex>.IsVerticesEmpty
QuikGraph.IVertexSet<TVertex>.VertexCount
QuikGraph.IVertexSet<TVertex>.Vertices
QuikGraph.IEdgeSet<TVertex, TEdge>.ContainsEdge(TEdge)
QuikGraph.IEdgeSet<TVertex, TEdge>.IsEdgesEmpty
QuikGraph.IEdgeSet<TVertex, TEdge>.EdgeCount
QuikGraph.IEdgeSet<TVertex, TEdge>.Edges
QuikGraph.IBidirectionalIncidenceGraph<TVertex, TEdge>.IsInEdgesEmpty(TVertex)
QuikGraph.IBidirectionalIncidenceGraph<TVertex, TEdge>.InDegree(TVertex)
QuikGraph.IBidirectionalIncidenceGraph<TVertex, TEdge>.InEdges(TVertex)
QuikGraph.IBidirectionalIncidenceGraph<TVertex, TEdge>.TryGetInEdges(TVertex, System.Collections.Generic.IEnumerable<TEdge>)
QuikGraph.IBidirectionalIncidenceGraph<TVertex, TEdge>.InEdge(TVertex, System.Int32)
QuikGraph.IBidirectionalIncidenceGraph<TVertex, TEdge>.Degree(TVertex)
QuikGraph.IIncidenceGraph<TVertex, TEdge>.ContainsEdge(TVertex, TVertex)
QuikGraph.IIncidenceGraph<TVertex, TEdge>.TryGetEdge(TVertex, TVertex, TEdge)
QuikGraph.IIncidenceGraph<TVertex, TEdge>.TryGetEdges(TVertex, TVertex, System.Collections.Generic.IEnumerable<TEdge>)
QuikGraph.IImplicitGraph<TVertex, TEdge>.IsOutEdgesEmpty(TVertex)
QuikGraph.IImplicitGraph<TVertex, TEdge>.OutDegree(TVertex)
QuikGraph.IImplicitGraph<TVertex, TEdge>.OutEdges(TVertex)
QuikGraph.IImplicitGraph<TVertex, TEdge>.TryGetOutEdges(TVertex, System.Collections.Generic.IEnumerable<TEdge>)
QuikGraph.IImplicitGraph<TVertex, TEdge>.OutEdge(TVertex, System.Int32)
QuikGraph.IGraph<TVertex, TEdge>.IsDirected
QuikGraph.IGraph<TVertex, TEdge>.AllowParallelEdges
QuikGraph.IImplicitVertexSet<TVertex>.ContainsVertex(TVertex)
Namespace: GraphShape
Assembly: GraphShape.dll
Syntax
public interface IHierarchicalBidirectionalGraph<TVertex, TEdge> : IBidirectionalGraph<TVertex, TEdge>, IVertexAndEdgeListGraph<TVertex, TEdge>, IVertexListGraph<TVertex, TEdge>, IEdgeListGraph<TVertex, TEdge>, IVertexSet<TVertex>, IEdgeSet<TVertex, TEdge>, IBidirectionalIncidenceGraph<TVertex, TEdge>, IIncidenceGraph<TVertex, TEdge>, IImplicitGraph<TVertex, TEdge>, IGraph<TVertex, TEdge>, IImplicitVertexSet<TVertex> where TEdge : TypedEdge<TVertex>
Type Parameters
Name Description
TVertex

Vertex type.

TEdge

Edge type.

Properties

| Improve this Doc View Source

GeneralEdgeCount

Gets the number of general edges.

Declaration
int GeneralEdgeCount { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

GeneralEdges

Gets the set of general edges.

Declaration
IEnumerable<TEdge> GeneralEdges { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<TEdge>
| Improve this Doc View Source

HierarchicalEdgeCount

Gets the number of hierarchical edges.

Declaration
int HierarchicalEdgeCount { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

HierarchicalEdges

Gets the set of hierarchical edges.

Declaration
IEnumerable<TEdge> HierarchicalEdges { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<TEdge>

Methods

| Improve this Doc View Source

GeneralEdgeCountFor(TVertex)

Gets the number of general edges for the given vertex.

Declaration
int GeneralEdgeCountFor(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get general edges.

Returns
Type Description
System.Int32

General edges count.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

| Improve this Doc View Source

GeneralEdgesFor(TVertex)

Gets the set of general edges for the given vertex.

Declaration
IEnumerable<TEdge> GeneralEdgesFor(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get general edges.

Returns
Type Description
System.Collections.Generic.IEnumerable<TEdge>

General edges.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

| Improve this Doc View Source

HierarchicalEdgeCountFor(TVertex)

Gets the number of hierarchical edges for the given vertex.

Declaration
int HierarchicalEdgeCountFor(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get hierarchical edges.

Returns
Type Description
System.Int32

Hierarchical edges count.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

| Improve this Doc View Source

HierarchicalEdgesFor(TVertex)

Gets the set of hierarchical edges for the given vertex.

Declaration
IEnumerable<TEdge> HierarchicalEdgesFor(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get hierarchical edges.

Returns
Type Description
System.Collections.Generic.IEnumerable<TEdge>

Hierarchical edges.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

| Improve this Doc View Source

InGeneralEdgeCount(TVertex)

Gets the number of general in-edges for the given vertex.

Declaration
int InGeneralEdgeCount(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get general in-edges.

Returns
Type Description
System.Int32

General in-edges count.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

| Improve this Doc View Source

InGeneralEdges(TVertex)

Gets the set of general in-edges for the given vertex.

Declaration
IEnumerable<TEdge> InGeneralEdges(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get general in-edges.

Returns
Type Description
System.Collections.Generic.IEnumerable<TEdge>

General in-edges.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

| Improve this Doc View Source

InHierarchicalEdgeCount(TVertex)

Gets the number of hierarchical in-edges for the given vertex.

Declaration
int InHierarchicalEdgeCount(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get hierarchical in-edges.

Returns
Type Description
System.Int32

Hierarchical in-edges count.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

| Improve this Doc View Source

InHierarchicalEdges(TVertex)

Gets the set of hierarchical in-edges for the given vertex.

Declaration
IEnumerable<TEdge> InHierarchicalEdges(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get hierarchical in-edges.

Returns
Type Description
System.Collections.Generic.IEnumerable<TEdge>

Hierarchical in-edges.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

| Improve this Doc View Source

OutGeneralEdgeCount(TVertex)

Gets the number of general out-edges for the given vertex.

Declaration
int OutGeneralEdgeCount(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get general out-edges.

Returns
Type Description
System.Int32

General out-edges count.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

| Improve this Doc View Source

OutGeneralEdges(TVertex)

Gets the set of general out-edges for the given vertex.

Declaration
IEnumerable<TEdge> OutGeneralEdges(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get general out-edges.

Returns
Type Description
System.Collections.Generic.IEnumerable<TEdge>

General out-edges.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

| Improve this Doc View Source

OutHierarchicalEdgeCount(TVertex)

Gets the number of hierarchical out-edges for the given vertex.

Declaration
int OutHierarchicalEdgeCount(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get hierarchical out-edges.

Returns
Type Description
System.Int32

Hierarchical out-edges count.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

| Improve this Doc View Source

OutHierarchicalEdges(TVertex)

Gets the set of hierarchical out-edges for the given vertex.

Declaration
IEnumerable<TEdge> OutHierarchicalEdges(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

Vertex to get hierarchical out-edges.

Returns
Type Description
System.Collections.Generic.IEnumerable<TEdge>

Hierarchical out-edges.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

QuikGraph.VertexNotFoundException

vertex is not part of the graph.

Extension Methods

GraphHelpers.GetNeighbors<TVertex, TEdge>(IBidirectionalGraph<TVertex, TEdge>, TVertex)
GraphHelpers.GetOutNeighbors<TVertex, TEdge>(IVertexAndEdgeListGraph<TVertex, TEdge>, TVertex)
GraphHelpers.GetEdgesBetween<TVertex, TEdge>(IVertexAndEdgeListGraph<TVertex, TEdge>, TVertex[], TVertex[])
GraphHelpers.GetDistances<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph, out Double[,])
GraphHelpers.Convert<TOldVertex, TOldEdge, TNewVertex, TNewEdge, TNewGraph>(IVertexAndEdgeListGraph<TOldVertex, TOldEdge>, TNewGraph, Func<TOldVertex, TNewVertex>, Func<TOldEdge, TNewEdge>)
GraphHelpers.Convert<TVertex, TOldEdge, TNewEdge, TNewGraph>(IVertexAndEdgeListGraph<TVertex, TOldEdge>, TNewGraph, Func<TOldEdge, TNewEdge>)
GraphHelpers.Convert<TVertex, TEdge, TNewGraph>(IVertexAndEdgeListGraph<TVertex, TEdge>, TNewGraph)
GraphHelpers.Convert<TOldVertex, TOldEdge, TNewVertex, TNewEdge>(IVertexAndEdgeListGraph<TOldVertex, TOldEdge>, Func<TOldVertex, TNewVertex>, Func<TOldEdge, TNewEdge>)
GraphHelpers.Convert<TVertex, TOldEdge, TNewEdge>(IVertexAndEdgeListGraph<TVertex, TOldEdge>, Func<TOldEdge, TNewEdge>)
GraphHelpers.CopyToBidirectionalGraph<TVertex, TEdge>(IVertexAndEdgeListGraph<TVertex, TEdge>)
  • Improve this Doc
  • View Source
In This Article
Back to top GraphShape