-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
Hi, I'm trying to run hipster4j on different planar graphs (100, 1000, 10000, 100000, 1000000 vertices). But it takes to much time even to build graph (much more than running A* algorithm from this library on this graph) starting from 10000 vertices. Here is code how I build graph:
GraphBuilder<String, Double> gb = GraphBuilder.<String, Double>create();
for (Edge edge : g.edges) {
gb.connect(edge.firstId).to(edge.secondId).withEdge(edge.weight);
}
HipsterGraph<String, Double> graph = gb.createUndirectedGraph();
Maybe there are some faster ways to do this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels