This repository holds the code for our MDM paper: Efficiently Answering k-hop Reachability Queries in Large Dynamic Graphs for Fraud Feature Extraction
[Paper]. If you find it is useful for your work, please consider citing our paper.
- ARROW: ARROW: Approximating Reachability using Random walks Over Web scale graphs. ICDE'19
- CUDA 10.1
- Boost 1.65.1
- GCC 4.8
cd bread/ARROW
- Reachability query:
g++ -o main main.cpp
- k-hop reachability query:
g++ -o hop hop.cpp
./main --prefix ../dataset/ --querySize 1000 --stream --output --dataset bibsonomy
./hop --prefix ../dataset/ --querySize 1000 --stream --output --dataset bibsonomy
The same as BREAD below.
./bread rwbfs --prefix ./dataset/ --query_size 1000 --output --dynamic --dataset bibsonomy
./bread rwbfs --prefix ./dataset/ --query_size 1000 --output --dynamic --hop --dataset bibsonomy
BREAD requires boost library, please set the location of boost in CMakeLists.txt (If not installed, you can install the library with /bread/boost_1_65_1.tar.bz2)
cd bread/
cmake .
make
./bread bread --prefix ./dataset/ --query_size 1000 --output --dynamic --dataset bibsonomy
./bread hop --prefix ./dataset/ --query_size 1000 --output --dynamic --hop --dataset bibsonomy
cd bread/gpu
nvcc -o main main.cu -L/usr/local/cuda-10.1/lib64 -lcudart -lcuda
./main --prefix ../dataset/ --dynamic --output --dataset bibsonomy
./main --prefix ../dataset/ --dynamic --hop --output --dataset bibsonomy