Contains generic functions for creating model graphs
Function or value | Description |
Full Usage:
erdosRenyi newGraph fVertexKey fAddVertex fAddEdge vertexCount edgeCount
Parameters:
'Graph
fVertexKey : int -> 'Vertex
fAddVertex : 'Vertex -> 'Graph -> 'Graph
fAddEdge : 'Vertex -> 'Vertex -> 'Graph -> 'Graph
vertexCount : int
edgeCount : int
Returns: 'Graph
|
|
Full Usage:
gilbert newGraph fVertexKey fAddVertex fAddEdge vertexCount p
Parameters:
'Graph
fVertexKey : int -> 'Vertex
fAddVertex : 'Vertex -> 'Graph -> 'Graph
fAddEdge : 'Vertex -> 'Vertex -> 'Graph -> 'Graph
vertexCount : int
p : float
Returns: 'Graph
|
|