Man Scilab

is_connex
Scilab function

is_connex - connectivity test

Calling Sequence

res = is_connex(g)

Parameters

Description

is_connex returns 1 if the graph g is connected and 0 otherwise.

Examples


g=make_graph('foo',1,3,[1,2,3,1],[2,3,1,3]);
is_connex(g)
g=make_graph('foo',1,4,[1,2,3,1],[2,3,1,3]);
is_connex(g)
 
  

See Also

con_nodes ,   strong_connex ,  

Back