from
MatlabBGL
by David Gleich MatlabBGL provides robust and efficient graph algorithms for Matlab using native data structures.
rval=rtest_5_henderson()
function rval=rtest_5_henderson()
rval = 0;
try
rand('state',0);
A = erdos_reyni(100,.1);
if full(max(max(A))) > 1
error('erdos_reyni.m does not return an adjacency matrix.');
end
rval = 1;
catch
lasterr
end