Constructor | Description |
|
|
Static member | Description |
Full Usage:
StarGraph.initStarDiGraph n nodeIDFunction nodeDataFunction edgeDataFunction
Parameters:
int
-
Specifies the number of nodes
nodeIDFunction : int -> 'NodeKey
-
Function to create a NodeKey of an integer
nodeDataFunction : 'NodeKey -> 'NodeData
-
Function to create NodeData of NodeKeys
edgeDataFunction : 'NodeKey -> 'NodeKey -> 'EdgeData
-
Function to create EdgeData of NodeKeys
Returns: DiGraph<'NodeKey, 'NodeData, 'EdgeData>
A StarDiGraph
|
|
Full Usage:
StarGraph.initStarFGraph n nodeIDFunction nodeDataFunction edgeDataFunction
Parameters:
int
-
Specifies the number of nodes
nodeIDFunction : int -> 'NodeKey
-
Function to create a NodeKey of an integer
nodeDataFunction : 'NodeKey -> 'NodeData
-
Function to create NodeData of NodeKeys
edgeDataFunction : 'NodeKey -> 'NodeKey -> 'EdgeData
-
Function to create EdgeData of NodeKeys
Returns: FGraph<'NodeKey, 'NodeData, 'EdgeData>
A StarFGraph
|
|
Full Usage:
StarGraph.initStarGraphSeq n nodeIDFunction nodeDataFunction edgeDataFunction
Parameters:
int
-
Specifies the number of nodes
nodeIDFunction : int -> 'NodeKey
-
Function to create a NodeKey of an integer
nodeDataFunction : 'NodeKey -> 'NodeData
-
Function to create NodeData of NodeKeys
edgeDataFunction : 'NodeKey -> 'NodeKey -> 'EdgeData
-
Function to create EdgeData of NodeKeys
Returns: seq<'NodeKey * 'NodeData * 'NodeKey * 'NodeData * 'EdgeData>
A Sequence to create a StarGraph
|
|