The goal of the project is to study different parameters of graphs from the web.
  • C++ 89.3%
  • Python 9.3%
  • CMake 1.4%
Find a file
2021-01-17 21:46:58 +01:00
database Adding parsing algorithm & other methods 2020-11-22 12:20:22 +01:00
include/GraphesOCA Minor changes 2021-01-01 18:49:47 +01:00
Plotting Minor changes 2021-01-01 18:49:47 +01:00
src Minor changes 2021-01-01 18:49:47 +01:00
.gitignore New changes 2020-12-28 18:57:00 +01:00
CMakeLists.txt First commit 2020-11-21 23:51:09 +01:00
README.md Merge branch 'master' of https://github.com/CGHoussem/GraphesOCA 2021-01-17 21:46:58 +01:00

Study of Web graphs

School project developed using CPP and Python.

Installing dependencies for python plotting!

    # Navigate to the Plotting directory
    $ cd GraphesOCA/Plotting

    # Create the virtual environement (venv)
    $ python3 -m venv venv

    # Install required python modules
    (venv)$ pip install -r requirements.txt

Building CPP project

Use CMake to build the project.

    $ cd GraphesOCA
    $ mkdir build
    $ cd build
    $ cmake ..
    $ make

Executing

Part 1

Executing the CPP binary to extract data from the graphs database.

    $ cd GraphesOCA/build
    $ ./GraphesOCA

Part 2

Executing the Python script to make the plots (charts).

Keep in mind that this part requires the installed dependencies mentioned above!

    $ cd GraphesOCA/Plotting

    # Activating the virtual environment
    $ source venv/bin/activate

    # Executing the script
    (venv)$ python plot.py

    # Deactivating the virtual environment
    (venv)$ deactivate
    

Managing the development tasks in a Trello Table.