Interface IDiGraph<T>
Assembly: Advanced.Algorithms.dll
Syntax
public interface IDiGraph<T>
Type Parameters
Properties
IsWeightedGraph
Declaration
bool IsWeightedGraph { get; }
Property Value
ReferenceVertex
Declaration
IDiGraphVertex<T> ReferenceVertex { get; }
Property Value
VerticesAsEnumberable
Declaration
IEnumerable<IDiGraphVertex<T>> VerticesAsEnumberable { get; }
Property Value
VerticesCount
Declaration
int VerticesCount { get; }
Property Value
Methods
Clone()
Declaration
Returns
ContainsVertex(T)
Declaration
bool ContainsVertex(T value)
Parameters
| Type |
Name |
Description |
| T |
value |
|
Returns
GetVertex(T)
Declaration
IDiGraphVertex<T> GetVertex(T key)
Parameters
| Type |
Name |
Description |
| T |
key |
|
Returns
HasEdge(T, T)
Declaration
bool HasEdge(T source, T destination)
Parameters
| Type |
Name |
Description |
| T |
source |
|
| T |
destination |
|
Returns