From e24c280c81dac1cb64c47647ecaa96bbf65551c5 Mon Sep 17 00:00:00 2001
From: gianlucarossi15 <gianluca.rossi2000@live.com>
Date: Thu, 21 Mar 2024 21:40:04 +0100
Subject: [PATCH] Minor changes

---
 README.md | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 751af02..bb25f52 100644
--- a/README.md
+++ b/README.md
@@ -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
 ```
-- 
GitLab