-
Notifications
You must be signed in to change notification settings - Fork 0
Home
t edited this page Sep 13, 2010
·
70 revisions
gas is a tool that implements graph algorithms and graph store engine.
- System
- 64bit Linux
- Libraries
- Boost
- google-gflags
- google-glog
Initialize DB
gas db init —db=/var/sampledbRemove Temporary Files
gas db tmp_clear —db=/var/sampledbInsert edges
gas edge insert —db=/var/sampledb < sampleSelect edges
gas edge select 1 —db=/var/sampledbSelect all edges
gas edge all —db=/var/sampledbCompute PageRank and Select all results
gas pagerank —db=/var/sampledbFlags
* —alpha (Default: 0.15)
* —eps (Default: 1.0e-8)
* —max_iteration (Default: 100)
Compute PageRank and Select a result
gas pagerank select 1 —db=/var/sampledbgas uses google-glog. You can use glog flags.
For example, —stderrthreshold=0 outputs verbose log messages.
More information, See glog document