Code covered by the BSD License  

Highlights from
Matgraph

from Matgraph by Ed Scheinerman
Toolbox for working with simple, undirected graphs

Description of graph_system_exists
Home > matgraph > graph_system_exists.m

graph_system_exists

PURPOSE ^

graph_system_exists checks to see if the GRAPH_MAGIC global structure has

SYNOPSIS ^

function tf = graph_system_exists

DESCRIPTION ^

 graph_system_exists checks to see if the GRAPH_MAGIC global structure has
 been initialized.

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:
  • free_all free_all --- delete all graphs from the GRAPH_MAGIC system
  • graph_init graph_init(capacity) --- used to initialize the GRAPH_MAGIC data
  • max_available num_available --- maximum number of graphs we can hold in this system
  • num_available num_available --- number of free slots in the graph system
  • set_large set_large(n) --- set the cut off size for large graphs.

SOURCE CODE ^

0001 function tf = graph_system_exists
0002 % graph_system_exists checks to see if the GRAPH_MAGIC global structure has
0003 % been initialized.
0004 tf = ~isempty(whos('global','GRAPH_MAGIC'));

Generated on Thu 13-Mar-2008 14:23:52 by m2html © 2003

Contact us at files@mathworks.com