Show / Hide Table of Contents

Interface IMutableIncidenceGraph<TVertex, TEdge>

A mutable incidence graph with vertices of type TVertex and edges of type TEdge.

Inherited Members
IMutableGraph<TVertex, TEdge>.Clear()
IIncidenceGraph<TVertex, TEdge>.ContainsEdge(TVertex, TVertex)
IIncidenceGraph<TVertex, TEdge>.TryGetEdge(TVertex, TVertex, TEdge)
IIncidenceGraph<TVertex, TEdge>.TryGetEdges(TVertex, TVertex, IEnumerable<TEdge>)
IImplicitGraph<TVertex, TEdge>.IsOutEdgesEmpty(TVertex)
IImplicitGraph<TVertex, TEdge>.OutDegree(TVertex)
IImplicitGraph<TVertex, TEdge>.OutEdges(TVertex)
IImplicitGraph<TVertex, TEdge>.TryGetOutEdges(TVertex, IEnumerable<TEdge>)
IImplicitGraph<TVertex, TEdge>.OutEdge(TVertex, Int32)
IGraph<TVertex, TEdge>.IsDirected
IGraph<TVertex, TEdge>.AllowParallelEdges
IImplicitVertexSet<TVertex>.ContainsVertex(TVertex)
Namespace: QuikGraph
Assembly: QuikGraph.dll
Syntax
public interface IMutableIncidenceGraph<TVertex, TEdge> : IMutableGraph<TVertex, TEdge>, IIncidenceGraph<TVertex, TEdge>, IImplicitGraph<TVertex, TEdge>, IGraph<TVertex, TEdge>, IImplicitVertexSet<TVertex> where TEdge : IEdge<TVertex>
Type Parameters
Name Description
TVertex

Vertex type.

TEdge

Edge type.

Methods

| Improve this Doc View Source

ClearOutEdges(TVertex)

Trims the out-edges of the given vertex

Declaration
void ClearOutEdges(TVertex vertex)
Parameters
Type Name Description
TVertex vertex

The vertex.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

| Improve this Doc View Source

RemoveOutEdgeIf(TVertex, EdgePredicate<TVertex, TEdge>)

Removes all out-edges of the vertex where the predicate is evaluated to true.

Declaration
int RemoveOutEdgeIf(TVertex vertex, EdgePredicate<TVertex, TEdge> predicate)
Parameters
Type Name Description
TVertex vertex

The vertex.

EdgePredicate<TVertex, TEdge> predicate

Predicate to remove edges.

Returns
Type Description
System.Int32

The number of removed edges.

Exceptions
Type Condition
System.ArgumentNullException

vertex is null.

System.ArgumentNullException

predicate is null.

| Improve this Doc View Source

TrimEdgeExcess()

Trims excess storage allocated for edges.

Declaration
void TrimEdgeExcess()

Extension Methods

GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, String)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, String, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, XmlWriter)
GraphMLExtensions.SerializeToGraphML<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, XmlReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, TextReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeFromGraphML<TVertex, TEdge, TGraph>(TGraph, String, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
GraphMLExtensions.DeserializeAndValidateFromGraphML<TVertex, TEdge, TGraph>(TGraph, TextReader, IdentifiableVertexFactory<TVertex>, IdentifiableEdgeFactory<TVertex, TEdge>)
SerializationExtensions.SerializeToBinary<TVertex, TEdge>(IGraph<TVertex, TEdge>, Stream)
SerializationExtensions.SerializeToXml<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>, String, String, String, String)
SerializationExtensions.SerializeToXml<TVertex, TEdge, TGraph>(TGraph, XmlWriter, VertexIdentity<TVertex>, EdgeIdentity<TVertex, TEdge>, String, String, String, String, Action<XmlWriter, TGraph>, Action<XmlWriter, TVertex>, Action<XmlWriter, TEdge>)
  • Improve this Doc
  • View Source
In This Article
Back to top QuikGraph