You can take a look at https://github.com/kbastani/neo4j-mazerunner
There is a docker container to make it easier to install and use: https://registry.hub.docker.com/u/kbastani/neo4j-graph-analytics/ Usage directions: https://github.com/kbastani/neo4j-mazerunner#closeness-centrality Let me know if you have any questions. On Sunday, April 26, 2015 at 1:32:31 AM UTC-7, Salim Afra wrote: > > Hi, > > I was trying to calculate closeness centrality using graphalgo package. > Unfortunately, I am getting "NullPointer" exception. (Also, I am using code > from here exactly same > http://grepcode.com/file/repo1.maven.org/maven2/org.neo4j/neo4j-graph-algo/2.1.7/org/neo4j/graphalgo/centrality/ClosenessCentralityTest.java?av=f > > <http://www.google.com/url?q=http%3A%2F%2Fgrepcode.com%2Ffile%2Frepo1.maven.org%2Fmaven2%2Forg.neo4j%2Fneo4j-graph-algo%2F2.1.7%2Forg%2Fneo4j%2Fgraphalgo%2Fcentrality%2FClosenessCentralityTest.java%3Fav%3Df&sa=D&sntz=1&usg=AFQjCNHZcql8bGS8zbv0jQRjlJFqRnqW3Q>) > > I have 4 nodes in my network and 2 by 2 connected each other (see Figure). > I am thinking the problem *singleshortespath *function. But i could not > find more example. > > How can I solve the problem? > thanks > > > <https://lh3.googleusercontent.com/-_h0liUMlEM0/VTw9k8KLl0I/AAAAAAAAASA/PHf-F0UJ338/s1600/net.png> > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
