Scilab function

predecessors - tail nodes of incoming arcs of a node

Calling Sequence

a = predecessors(i,g)

Parameters

Description

predecessors returns the row vector of the numbers of the tail nodes of the incoming arcs to node i for a directed graph g .

Examples

See Also