Home   >   User Resources   >   Online Help   >   apaGraph.Nodes.Peripheral
 

 

Function index Version 3.0.0

apaGraph.Nodes.Peripheral(Edges, NumberOfNodes, IsWeighted)

Excel=apaGraph.Nodes.Peripheral(Edges, NumberOfNodes, IsWeighted)

Result

Returns the indices of the peripheral nodes, i.e. the nodes with an eccentricity equal to the diameter of the graph (largest eccentricity).

Syntax

Edges: graph as an edge list, i.e. an n x 3 data matrix, the first two columns containing the node indices and the third column the distance between the two nodes

NumberOfNodes: total number of nodes

IsWeighted: TRUE to use the distance information, FALSE to assume unit distances

Remarks

If the graph is not connected, the result is #N/A.