 | AdjacencyListWeightedDirectedGraphT Constructor |
Default constructor for this implementation of
directed graphs. Takes an array of vertices
as parameter, which should be the set of vertices
of this graph.
Initially there are no edges.
Namespace: Slash.Collections.GraphsAssembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntaxpublic AdjacencyListWeightedDirectedGraph(
T[] vertices
)
Public Sub New (
vertices As T()
)
public:
AdjacencyListWeightedDirectedGraph(
array<T>^ vertices
)
new :
vertices : 'T[] -> AdjacencyListWeightedDirectedGraph
Parameters
- vertices
- Type: T
Vertices of the new graph.
See Also