Scilab function

neighbors - nodes connected to a node

Calling Sequence

a = neighbors(i,g)

Parameters

Description

neighbors returns the numbers of the nodes connected with node i for graph g (directed or not).

Examples

See Also