APINetworks Java. A Java approach to the efficient treatment of large-scale complex networks

Published: 18 July 2016| Version 1 | DOI: 10.17632/3pzd5v4chp.1
Contributors:
Camelia Muñoz-Caro,
Alfonso Nino,
Sebastián Reyes ,
Miriam Castillo

Description

We present a new version of the core structural package of our Application Programming Interface, APINetworks, for the treatment of complex networks in arbitrary computational environments. The new version is written in Java and presents several advantages over the previous C++ version: the portability of the Java code, the easiness of object-oriented design implementations, and the simplicity of memory management. In addition, some additional data structures are introduced for storing the sets of nodes and edges. Also, by resorting to the different garbage collectors currently available in the JVM the Java version is much more efficient than the C++ one with respect to memory management. In particular, the G1 collector is the most efficient one because of the parallel execution of G1 and the Java application. Using G1, APINetworks Java outperforms the C++ version and the well-known NetworkX and JGraphT packages in the building and BFS traversal of linear and complete networks. The better memory management of the present version allows for the modeling of much larger networks. The previous version of this program (AEWZ_v1_0) may be found at http://dx.doi.org/10.1016/j.cpc.2015.05.017.

Files

Categories

Natural Sciences

License