<< Graphs handling Graphs handling gen_net >>

metanet >> metanet > Graphs handling > check_graph

check_graph

checks a Scilab graph data structure

Calling Sequence

check_graph(g [,opt])

Parameters

g

a graph_data_structure.

opt

an optional boolean. Default value is %t

Description

check_graph(g,%f) checks its argument g to see if it is a valid graph_data_structure. The checking is not only syntactic (number of elements of the list, compatible sizes of the vectors), but also semantic in the sense that check_graph checks that node_number, tail and head elements of the list can really represent a graph.

check_graph(g,%t) also check graphics and data fields validity.

See Also


Report an issue
<< Graphs handling Graphs handling gen_net >>