Click or drag to resize
IWeightedGraphT Interface
Interface of the abstract datatype weighted graph.

Namespace: Slash.Collections.Graphs
Assembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntax
public interface IWeightedGraph<T>
where T : IGraphVertex

Type Parameters

T
Type of the vertices of this graph.

The IWeightedGraphT type exposes the following members.

Properties
  NameDescription
Public propertyEdgeCount
Number of edges between the vertices of this graph.
Public propertyVertexCount
Number of vertices of this graph.
Top
Methods
  NameDescription
Public methodDegree
Returns the number of adjacent vertices of the given vertex.
Public methodGetEdgeWeight
Gets the weight of the edge between the specified vertices.
Public methodHasEdge
Checks if there is an edge between two vertices of this graph.
Public methodListOfAdjacentVertices
Returns a list containing the adjacent vertices of a given vertex in this graph.
Top
See Also