8000 GitHub - mboujonnier/scgl: Simple C Graph Library (scgl)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ scgl Public
forked from patseb/scgl

Simple C Graph Library (scgl)

License

Notifications You must be signed in to change notification settings

mboujonnier/scgl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple C Graph Library (scgl)
-------------
scgl is a minimalistic graph library written in C for the purpose of my thesis
scgl is licensed under the terms of GPLv2 licence

Contact
-------
Feel free to email if you find a bug or request some feature: patseb at gmail dot com

How to change edge's cost type
------------------------------
make COST_TYPE={TYPE}

eg.
make COST_TYPE=s
make COST_TYPE=ull

It's recommended that cost type was scalar type.
Makefile will choose printf format and MAX value by itself for types (COST_TYPE):
 - short (s)
 - unsigned short (us)
 - int (i) 
 - unsigned int (ui)
 - long (l)
 - unsigned long (ul)
 - long long (ll)
 - unsigned long long (ull)
 - float (f)
 - double (d)
 - long double (ld)

If your cost type isn't on list, you can change printf format and MAX value by:
make MFLAGS='-Dcost_type="{TYPE}" -Dcost_fmt=\"{FORMAT}\" -Dcost_max={VALUE}'

About

Simple C Graph Library (scgl)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 89.0%
  • C++ 6.1%
  • Makefile 4.7%
  • Shell 0.2%
0