You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please be more specific. If you want to compile it, then follow the described steps in the developer guide. If something fails - give me the exact problem or error messages. Also I need to know what kind of input you have etc. Otherwise I cannot help - see
Thanks a lot for the reply .My aim is to user give a input file which consists of 3 parameters (node 1 ,node 2 ,weight)For example 1 2 30 which means that one is connected to two and cost is 30 for travelling from 1st node to the 2nd node . I want to use contraction hireachies and get node ordering as the output .
create a LevelGraphStorage => graph.edge(1, 2, 30, true) etc then call PrepareContractionHierarchies.doWork and grab the level via graph.getLevel(node). See the tests for more details on how to create the prepare object. To use the contracted graph you need the algorithm returned from prepare.createAlgo ... otherwise it won't work.
Activity
karussell commentedon Feb 7, 2013
Please be more specific. If you want to compile it, then follow the described steps in the developer guide. If something fails - give me the exact problem or error messages. Also I need to know what kind of input you have etc. Otherwise I cannot help - see
rakeshramesh commentedon Feb 7, 2013
Thanks a lot for the reply .My aim is to user give a input file which consists of 3 parameters (node 1 ,node 2 ,weight)For example 1 2 30 which means that one is connected to two and cost is 30 for travelling from 1st node to the 2nd node . I want to use contraction hireachies and get node ordering as the output .
karussell commentedon Feb 7, 2013
create a LevelGraphStorage => graph.edge(1, 2, 30, true) etc then call PrepareContractionHierarchies.doWork and grab the level via graph.getLevel(node). See the tests for more details on how to create the prepare object. To use the contracted graph you need the algorithm returned from prepare.createAlgo ... otherwise it won't work.
karussell commentedon Mar 8, 2013
Reopen if you need further assistance