Distributed data storage placement algorithm validation project, which implements the Overlap-Centric Replica Placement algorithm.
To build and run this project, you will need:
- CMake ≥ 3.10
- C++17-capable compiler
- yaml-cpp (included as a submodule)
git submodule update --initgit clone [email protected]:yangxk1/geo_layer.git
cd GeoLayerAlmkdir build
cd build
cmake ..
make -j$(nproc)After building, the generated executable files are located in the build/ directory:
geo_layer_alcompute_heatldbc_query
Before running the program, you can configure parameters in constant.h by setting temporary environment variables. For example:
export LDBC_DATA_BASE_PATH="/path/to/ldbc/data"
export TARGET_DATA_BASE_PATH="/path/to/target/data"
export CLUSTER_CONFIG_YAML="/path/to/cluster_config.yaml"
export NUM_CORES=8
export LAMBDA=0.6
export ALPHA=0.7
export BETA=0.4
export GAMMA=0.2
export ESPSILON=0.01./build/geo_layer_al./build/compute_heat./build/ldbc_query