1) the igraph group distributes no java library (http://lists.nongnu.org/archive/html/igraph-help/2008-05/msg00013.html) .
- using the igraph python extension, and load it in jython, is not a solution (jython does not allows to link static c libraries)
- develop a JNI interface to the igraph C library ? (see thread http://lists.nongnu.org/archive/html/igraph-help/2009-07/msg00075.html\). Main limitation: will have to compile one native library per OS (?)
2) JRI (java R interface) requires R to be installed (http://www.rforge.net/rJava/) => not a valid solution
3) avoid igraph, and use a java library to compute the average path length and so on (?)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1) the igraph group distributes no java library (http://lists.nongnu.org/archive/html/igraph-help/2008-05/msg00013.html) .
- using the igraph python extension, and load it in jython, is not a solution (jython does not allows to link static c libraries)
- develop a JNI interface to the igraph C library ? (see thread http://lists.nongnu.org/archive/html/igraph-help/2009-07/msg00075.html\). Main limitation: will have to compile one native library per OS (?)
2) JRI (java R interface) requires R to be installed (http://www.rforge.net/rJava/) => not a valid solution
3) avoid igraph, and use a java library to compute the average path length and so on (?)
The license of R is GPL2; we may thus distribute it along with R, and invoke our own instance of R.