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)
 
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.

Reply via email to