 | AdjacencyListWeightedDirectedGraphTListOfAdjacentVertices Method |
Returns a list containing the adjacent
vertices of a given vertex in this graph in O(1).
Namespace: Slash.Collections.GraphsAssembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntaxpublic List<T> ListOfAdjacentVertices(
T node
)
Public Function ListOfAdjacentVertices (
node As T
) As List(Of T)
public:
virtual List<T>^ ListOfAdjacentVertices(
T node
) sealed
abstract ListOfAdjacentVertices :
node : 'T -> List<'T>
override ListOfAdjacentVertices :
node : 'T -> List<'T>
Parameters
- node
- Type: T
Vertex to get the neighbors of.
Return Value
Type:
ListTList with the neighbors of the given vertex.
Implements
IWeightedGraphTListOfAdjacentVertices(T)
See Also