InformationEntropy Type

Computes the graph density

Constructors

Constructor Description

InformationEntropy()

Full Usage: InformationEntropy()

Returns: InformationEntropy
Returns: InformationEntropy

Static members

Static member Description

InformationEntropy.compute (labelF, graph, n)

Full Usage: InformationEntropy.compute (labelF, graph, n)

Parameters:
    labelF : 'NodeData -> 'Information - The function to get the desired information for the entropy of the nodedata.
    graph : AdjGraph<'NodeKey, 'NodeData, 'EdgeData> - The graph for which to compute the information entropy.
    n : 'NodeKey - The node for which to compute the information entropy.

Returns: float The information entropy of the given node .

Computes the information entropy of the given FGraph graph.

This calculation does not consider self loops

labelF : 'NodeData -> 'Information

The function to get the desired information for the entropy of the nodedata.

graph : AdjGraph<'NodeKey, 'NodeData, 'EdgeData>

The graph for which to compute the information entropy.

n : 'NodeKey

The node for which to compute the information entropy.

Returns: float

The information entropy of the given node .

InformationEntropy.compute (labelF, graph, n)

Full Usage: InformationEntropy.compute (labelF, graph, n)

Parameters:
    labelF : 'NodeData -> 'Information - The function to get the desired information for the entropy of the nodedata.
    graph : FGraph<'NodeKey, 'NodeData, 'EdgeData> - The graph for which to compute the information entropy.
    n : 'NodeKey - The node for which to compute the information entropy.

Returns: float The information entropy of the given node .

Computes the information entropy of the given FGraph graph.

This calculation does not consider self loops

labelF : 'NodeData -> 'Information

The function to get the desired information for the entropy of the nodedata.

graph : FGraph<'NodeKey, 'NodeData, 'EdgeData>

The graph for which to compute the information entropy.

n : 'NodeKey

The node for which to compute the information entropy.

Returns: float

The information entropy of the given node .

InformationEntropy.compute (labelF, graph, n)

Full Usage: InformationEntropy.compute (labelF, graph, n)

Parameters:
    labelF : 'NodeData -> 'Information - The function to get the desired information for the entropy of the nodedata.
    graph : DiGraph<'NodeKey, 'NodeData, 'EdgeData> - The graph for which to compute the information entropy.
    n : 'NodeKey - The node for which to compute the information entropy.

Returns: 'a The information entropy of the given node .

Computes the information entropy of the given FGraph graph.

This calculation does not consider self loops

labelF : 'NodeData -> 'Information

The function to get the desired information for the entropy of the nodedata.

graph : DiGraph<'NodeKey, 'NodeData, 'EdgeData>

The graph for which to compute the information entropy.

n : 'NodeKey

The node for which to compute the information entropy.

Returns: 'a

The information entropy of the given node .

InformationEntropy.ofAdjGraph labelF graph n

Full Usage: InformationEntropy.ofAdjGraph labelF graph n

Parameters:
    labelF : 'NodeData -> 'Information - The function to get the desired information for the entropy of the nodedata.
    graph : AdjGraph<'NodeKey, 'NodeData, 'EdgeData> - The graph for which to compute the information entropy.
    n : 'NodeKey - The node for which to compute the information entropy.

Returns: float The information entropy of the given node .

Computes the information entropy of the given AdjGraph graph.

This calculation does not consider self loops

labelF : 'NodeData -> 'Information

The function to get the desired information for the entropy of the nodedata.

graph : AdjGraph<'NodeKey, 'NodeData, 'EdgeData>

The graph for which to compute the information entropy.

n : 'NodeKey

The node for which to compute the information entropy.

Returns: float

The information entropy of the given node .

InformationEntropy.ofDiGraph labelF graph n

Full Usage: InformationEntropy.ofDiGraph labelF graph n

Parameters:
    labelF : 'NodeData -> 'Information - The function to get the desired information for the entropy of the nodedata.
    graph : DiGraph<'NodeKey, 'NodeData, 'EdgeData> - The graph for which to compute the information entropy.
    n : 'NodeKey - The node for which to compute the information entropy.

Returns: 'a The information entropy of the given node .

Computes the information entropy of the given FGraph graph.

This calculation does not consider self loops

labelF : 'NodeData -> 'Information

The function to get the desired information for the entropy of the nodedata.

graph : DiGraph<'NodeKey, 'NodeData, 'EdgeData>

The graph for which to compute the information entropy.

n : 'NodeKey

The node for which to compute the information entropy.

Returns: 'a

The information entropy of the given node .

InformationEntropy.ofFGraph labelF graph n

Full Usage: InformationEntropy.ofFGraph labelF graph n

Parameters:
    labelF : 'NodeData -> 'Information - The function to get the desired information for the entropy of the nodedata.
    graph : FGraph<'NodeKey, 'NodeData, 'EdgeData> - The graph for which to compute the information entropy.
    n : 'NodeKey - The node for which to compute the information entropy.

Returns: float The information entropy of the given node .

Computes the information entropy of the given FGraph graph.

This calculation does not consider self loops

labelF : 'NodeData -> 'Information

The function to get the desired information for the entropy of the nodedata.

graph : FGraph<'NodeKey, 'NodeData, 'EdgeData>

The graph for which to compute the information entropy.

n : 'NodeKey

The node for which to compute the information entropy.

Returns: float

The information entropy of the given node .