Skip to content
Snippets Groups Projects
Commit e24c280c authored by gianlucarossi15's avatar gianlucarossi15
Browse files

Minor changes

parent 1aaa824f
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,13 @@ ptSpar is a C++ program implementing a Neighborhood-Preserving Graph Sparsificat
## Compilation
1. **Install Boost Library:** Ensure the Boost Program Options library is installed on your system.
2. **Compilation Command:** In the source directory, compile using `g++ -std=c++11 main.cpp -o ptSpar -lboost_program_options`.
2. **Compilation Command:** Create a build directory and cd into it, and execute the following commands:
```bash
cmake ..
```
```bash
make
```
## Usage
- **Basic Command Structure:**
......@@ -27,5 +33,5 @@ ptSpar is a C++ program implementing a Neighborhood-Preserving Graph Sparsificat
## Example
```bash
./ptSpar --input myGraph.txt --output_file compressedGraph.txt --directed true --algorithm Random --depth 2 --proportions 0.5 0.5
./ptSpar --input myGraph.txt --output_file compressedGraph.txt --directed true --algorithm Random --depth 2 --proportions 0 0.5 0.5
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment