lamestllama / conSERN Public
SERN graph generator
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Failed to load latest commit information.
Latest commit message
# conSERN conSERN contains code for fast-generation of Spatially Embedded Random Networks (SERNs), such as the Waxman random graph, random plane networks, random geometric graphs, spatial networks, range-dependent random graphs, random connection models, random distance graphs, and partially structured random graphs. ### Contents The directories are conSERN: C source code conSERN.c has Matlab linking routines FastSERN.c has C library entry point (GenSERN) Matlab: examples, and tests using Matlab through a Mex file ### Installation (1) Mac OSX installation is via Xcode. Linux Enter the ./conSERN sub-directory, and type make This should construct the libraries, and a Matlab Mex file (for linux) if mex is all set up for you. Some modifications to the makefile might be needed for local customisation, e.g., you need to set the includes to point to your install. You might also need to change the version of C compiler being used. e.g., see https://au.mathworks.com/matlabcentral/answers/137228-setup-mex-compiler-for-r2014a-for-linux Essentially it requires installation of an earlier compiler version, and then editing of (for instance) ~/.matlab/R2017a/mex_C_glnxa64.xml ~/.matlab/R2017a/mex_C++_glnxa64.xml to point Matlab at the new version. (2) Enter the ./Matlab sub-directory. The "testgen.m" matlab script should now work. (3) If you want to get all of the tests reported in  then you also need to install the "Linepicking" package from https://github.com/mroughan/LinePicking and set the appropriate paths in linepicking.m (4) If you want to run this from another directory, then you will have to set up an appropriate search path.  Reference to be added.
SERN graph generator
No releases published
No packages published