The top-level graph data type. This one can be both directed or undirected.
Constructor | Description |
|
Instance member | Description |
|
|
|
|
Full Usage:
this.Clone()
Returns: 'G
Modifiers: abstract |
|
|
|
|
|
|
Find a vertex by the given function. This function returns the first element, in which the function returns true. When there is no such an element, the function raises an exception.
|
Full Usage:
this.FindVertexByData(arg1)
Parameters:
'D
Returns: Vertex<'D>
Modifiers: abstract |
Find a vertex that has the given VertexData from the graph. It will raise an exception if such a vertex does not exist. Note that this function can be used only when each vertex always has unique VertexData.
|
|
|
|
|
Full Usage:
this.FoldVertex(arg1) (arg2)
Parameters:
'a -> Vertex<'D> -> 'a
arg1 : 'a
Returns: 'a
Modifiers: abstract |
|
Full Usage:
this.GetSize()
Returns: int
Modifiers: abstract |
|
|
|
|
|
Full Usage:
this.IsEmpty()
Returns: bool
Modifiers: abstract |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.TryFindVertexByData(arg1)
Parameters:
'D
Returns: Vertex<'D> option
Modifiers: abstract |
Find a vertex that has the given VertexData from the graph. This function does not raise an exception unlike FindVertexByData.
|
|
|