Vertices Module

Functions for vertices of undirected Graphs

Functions and values

Function or value Description

clusteringCoefficient (arg1, arg2, arg3, arg4) g

Full Usage: clusteringCoefficient (arg1, arg2, arg3, arg4) g

Parameters:
    arg0 : Adj<'Vertex, 'Edge>
    arg1 : 'Vertex
    arg2 : 'Label
    arg3 : Adj<'Vertex, 'Edge>
    g : Graph<'Vertex, 'Label, 'Edge>

Returns: float

Evaluates the clustering coefficient of the vertex.

arg0 : Adj<'Vertex, 'Edge>
arg1 : 'Vertex
arg2 : 'Label
arg3 : Adj<'Vertex, 'Edge>
g : Graph<'Vertex, 'Label, 'Edge>
Returns: float

degree (arg1, arg2, arg3, arg4)

Full Usage: degree (arg1, arg2, arg3, arg4)

Parameters:
    arg0 : Adj<'Vertex, 'Edge>
    arg1 : 'Vertex
    arg2 : 'Label
    arg3 : Adj<'Vertex, 'Edge>

Returns: int

Evaluates the number of edges associated with the vertex.

arg0 : Adj<'Vertex, 'Edge>
arg1 : 'Vertex
arg2 : 'Label
arg3 : Adj<'Vertex, 'Edge>
Returns: int

neighbours (arg1, arg2, arg3, arg4)

Full Usage: neighbours (arg1, arg2, arg3, arg4)

Parameters:
    arg0 : Adj<'Vertex, 'Edge>
    arg1 : 'Vertex
    arg2 : 'Label
    arg3 : Adj<'Vertex, 'Edge>

Returns: 'Vertex list

Lists the vertices which are connected to the vertex.

arg0 : Adj<'Vertex, 'Edge>
arg1 : 'Vertex
arg2 : 'Label
arg3 : Adj<'Vertex, 'Edge>
Returns: 'Vertex list