File: check_graph.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (23 lines) | stat: -rw-r--r-- 860 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
check_graph        Scilab Group        Scilab function          check_graph
NAME
   check_graph - checks a Scilab graph list
  
CALLING SEQUENCE
 check_graph(g)
PARAMETERS
 g  : graph list to check
    
DESCRIPTION
   check_graph checks its argument g to see if it is a graph list. 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.  Moreover, the names of the node must be
  different. In fact, this do not give errors in Scilab, but strange
  behaviour can appear when using the  Metanet window. So, this is not
  checked by check_graph  because it is time consuming. It is only checked
  when loading, saving or showing a graph. 
  
SEE ALSO
   graph-list