-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Original shortest path traversal:
| public void findShortestPaths() { |
Original list of randomly chosen target nodes (range 2-1000, choose 100):
graphdb-benchmarks/src/main/java/eu/socialsensor/benchmarks/FindShortestPathBenchmark.java
Line 130 in a3cd070
| public void generateRandomNodes() { |
TP3 shortest path traversal:
https://github.com/amcp/graphdb-benchmarks/blob/tp3/src/main/java/eu/socialsensor/graphdatabases/TitanGraphDatabase.java#L281
New method to choose source node:
https://github.com/amcp/graphdb-benchmarks/blob/tp3/src/main/java/eu/socialsensor/graphdatabases/GraphDatabaseBase.java#L128
New method to choose target nodes (choose from entire range of vertices in dataset):
https://github.com/amcp/graphdb-benchmarks/blob/tp3/src/main/java/eu/socialsensor/dataset/Dataset.java#L28
New method to choose number of random target nodes (set the number in configuration file):
https://github.com/amcp/graphdb-benchmarks/blob/tp3/src/test/resources/META-INF/input.properties#L86