StarGraph Type

Constructors

Constructor Description

StarGraph()

Full Usage: StarGraph()

Returns: StarGraph
Returns: StarGraph

Static members

Static member Description

StarGraph.initStarDiGraph n nodeIDFunction nodeDataFunction edgeDataFunction

Full Usage: StarGraph.initStarDiGraph n nodeIDFunction nodeDataFunction edgeDataFunction

Parameters:
    n : 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

Returns a StarGraph

n : 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

StarGraph.initStarFGraph n nodeIDFunction nodeDataFunction edgeDataFunction

Full Usage: StarGraph.initStarFGraph n nodeIDFunction nodeDataFunction edgeDataFunction

Parameters:
    n : 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

Returns a StarGraph

n : 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

StarGraph.initStarGraphSeq n nodeIDFunction nodeDataFunction edgeDataFunction

Full Usage: StarGraph.initStarGraphSeq n nodeIDFunction nodeDataFunction edgeDataFunction

Parameters:
    n : 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

Returns a StarGraph

n : 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