Interface IEdgeWeightedDigraph<TWeight>
- Namespace
- AlgorithmsSW.EdgeWeightedDigraph
- Assembly
- AlgorithmsSW.dll
Represents a directed edge weighted graph data structure.
public interface IEdgeWeightedDigraph<TWeight> : IReadOnlyEdgeWeightedDigraph<TWeight>, IReadOnlyDigraph, IEnumerable<(int vertex0, int vertex1)>, IEnumerable
Type Parameters
TWeight
The type of the edge weights.
- Inherited Members
- Extension Methods
Methods
AddEdge(DirectedEdge<TWeight>)
Adds an edge to the graph.
void AddEdge(DirectedEdge<TWeight> edge)
Parameters
edge
DirectedEdge<TWeight>The edge to add.
RemoveEdge(DirectedEdge<TWeight>)
Removes an edge from the graph.
bool RemoveEdge(DirectedEdge<TWeight> edge)
Parameters
edge
DirectedEdge<TWeight>The edge to remove.