-
Notifications
You must be signed in to change notification settings - Fork 0
Home
gas is a tool that implements graph algorithms and graph store engine.
- System
- 64bit Linux
- Libraries
- Boost
- google-gflags
- google-glog
DB Commands modify/select data in graph store.
gas db init —db=/var/sampledb |
gas db tmp_clear —db=/var/sampledb |
or
gas any command —tmp_clear —db=/var/sampledb |
gas edge insert —db=/var/sampledb < sample |
gas edge select 1 —db=/var/sampledb |
gas edge all —db=/var/sampledb |
gas pagerank —db=/var/sampledb |
Flags
* —alpha (Default: 0.15)
* —eps (Default: 1.0e-8)
* —max_iteration (Default: 100)
gas pagerank select 1 —db=/var/sampledb |
gas hits —db=/var/sampledb |
gas hits select 1 —db=/var/sampledb |
gas spp 1 2 —db=/var/sampledb |
Flags
* —directional (Default: bi) bi or uni
gas modularityq —db=/var/sampledb |
Original Java code is Here
gas supporters —db=/var/sampledb |
Flags
* —width (Default: 64) bit vector width 32 or 64
* —distance (Default: 25) distance to explore
* —epsilon_factor (Default: 1.0) probability of initializing a bit as 1, in terms of 1/N
* —reverse (Default: false) reverse links, counting, out-neighbors
* —anf (Default: false) use ANF method for arg times iteration
* —seed (Default: std::time(0)) seed of random number generator
* —adaptive (Default: false) adjust epsilon adaptively
* —adaptive_multiplier (Default: 2.0) factor for increasing epsilon
* —adaptive_epsilon_max (Default: 0.5) maximum epsilon
* —adaptive_epsilon_min_factor (Default: 1.0) minimum epsilon factor
* —adaptive_use_epsilonestimate (Default: false) use alternative estimation of 2/(M+1)e, disregarding bits
* —adaptive_stop_criteria(Default: 0.99) fraction of nodes with good estimations required to stop
gas uses google-glog. You can use glog flags.
For example, —stderrthreshold=0 outputs verbose log messages.
More information, See glog document