Show / Hide Table of Contents

Class IsEulerianGraphAlgorithm

Algorithm that checks if a graph is Eulerian. (has a path use all edges one and only one time).

Inheritance
System.Object
IsEulerianGraphAlgorithm
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: QuikGraph.Algorithms
Assembly: QuikGraph.dll
Syntax
public static class IsEulerianGraphAlgorithm

Methods

| Improve this Doc View Source

IsEulerian<TVertex, TEdge>(IUndirectedGraph<TVertex, TEdge>)

Returns true if the graph is Eulerian, otherwise false.

Declaration
public static bool IsEulerian<TVertex, TEdge>(IUndirectedGraph<TVertex, TEdge> graph)
    where TEdge : IUndirectedEdge<TVertex>
Parameters
Type Name Description
IUndirectedGraph<TVertex, TEdge> graph

Graph to check.

Returns
Type Description
System.Boolean

True if the graph is Eulerian, false otherwise.

Type Parameters
Name Description
TVertex

Vertex type.

TEdge

Edge type.

Exceptions
Type Condition
System.ArgumentNullException

graph is null.

  • Improve this Doc
  • View Source
In This Article
Back to top QuikGraph