Git Product home page Git Product logo

complexnets's Introduction

ComplexNets++

Build Status

This toolbox provides different tools to analyze complex networks, i.e., networks issues from complex systems or any graph in general. We provide:

  • Degree distribution
  • Knn: average neighbors degree distribution
  • Cnn: average cluster coefficient distribution
  • k-core shells

We deal with several graph types:

  • Undirected
  • Weighted
  • Directed (in a short term)
  • Any combination (in a short term)

We also generate graphs according to different models:

  • Erdös-Renyi
  • Bárabasi-Albert
  • Molloy-Reed
  • FKP-extended

Build

Install Required Dependencies

Notes:

  • Version 6.3.0 (or greater) of g++ is required. If you have an older version, please update it and set it as default.
  • Version 3.1 (or greater) of cmake is required.

Ubuntu/Debian

sudo apt-get install build-essential qt5-default cmake

macOS

Since there is no default package manager in macOS, you can use Homebrew to install the required packages.

brew install cmake qt

If your compiler is not gcc, you can also download it using Homebrew (brew install gcc).

It is also recommended to download gnuplot from Homebrew:

brew install gnuplot --with-qt

Compile

At the project root directory, run the following command:

./scripts/build.sh

ComplexNets program will be built at the build directory.

Run

At the project root directory, run the following command:

./build/complexnets

Test

Make sure you have cloned the vendored googletest by doing:

git submodule update --init

Then, compile and run the tests with the following command:

./scripts/tests.sh

Dev Environment Configuration

With CMake, it is now possible to import this project in any editor/IDE. Some links you may find useful.

There are many other editors/IDEs that may be used! Some of them are:

  • Sublime Text
  • CodeLite
  • CodeBlocks
  • Vim
  • Emacs

Choose the one you like and import the project as any C++ project!

License

This toolbox is licensed under the Academic Free License 3.0, and it was developed at the Instituto Tecnológico de Buenos Aires.

The first version was released in 2012.

Project manager: José Ignacio Alvarez-Hamelin

Developer (semester-year)
Carlos Castro 1-2012
Nicolás Bombau 1-2012
Ezequiel Scaruli 2-2012
Pablo Andres Ballesty 2-2012
Alejandro Magnorsky 2-2012
Alan Fabian Idesis 2-2012
Fernando Dávila 2-2012
Luciana Reznik 2-2014
Jose Ignacio Galindo 2-2014
Jaime Alexander Campos Iannacone 2-2015
Juan Pablo Dantur 2-2016
Federico Bond 1-2017
Matías Comercio 1-2018
Gonzalo Ibars Ingman 1-2018

complexnets's People

Contributors

agophurmuz avatar alemedve avatar alexjck avatar angiearlanti avatar diegostrubolini avatar federicobond avatar federicotdn avatar ihameli avatar jpdantur avatar marcoboschetti avatar matiascomercio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

complexnets's Issues

DegreeDistributionExport should output same format

What steps will reproduce the problem?
1. Export DegreeDistribution with GUI
2. Export DegreeDistribution with CLI
3. If you run a diff between the generated files they don't match. This 
is caused by different format for the probabilities (float/double).

What is the expected output? What do you see instead?
The probabilities format should be the same.

Please use labels and text to provide additional information.

You can check the ExportDegreeDistribution for Directed Graphs.

Original issue reported on code.google.com by [email protected] on 18 Dec 2013 at 9:21

Improve mainwindow.cpp code

Try to make some improvements to the code in mainwindow.cpp so it can be more 
maintainable.

Original issue reported on code.google.com by bombax on 2 Apr 2012 at 1:55

Application looks frozen when working with big graphs

What steps will reproduce the problem?
1. Open application
2. Load a big graph
3.

What is the expected output? What do you see instead?
Application should look like before loading the graph.
Instead the application window turns grey, it gives the appearance that the 
application is frozen but it is not. If the user waits long enough and the 
computation ends the application window looks like it is supposed to look.



Original issue reported on code.google.com by bombax on 1 Mar 2012 at 2:54

Meta: improve code quality

This is a meta issue to keep track of changes needed to improve code quality:

  • Fix build with Qt5
  • Fix most warnings thrown by the GCC compiler
  • Configure CI build system for building in Linux (bonus: OS X and AppVeyor for Windows)
  • Fix tests build

Nice to have:

  • Use clang-format to maintain a consistent code style across the codebase
  • Use clang-tidy to update code with modern standards
  • Fix compilation with Clang
  • Move build system to CMake

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.