This example shows how to read a graph that has negative ids.
Note that Cassovary is internally optimized for ids that are consecutive, positive
integers. Thus, we need to use a NodeNumberer (that is a bi-directional map) to
encode external ids to internal and a custom parser to parse negative numbers.
This example shows how to read a graph that has negative ids.
Note that Cassovary is internally optimized for ids that are consecutive, positive integers. Thus, we need to use a NodeNumberer (that is a bi-directional map) to encode external ids to internal and a custom parser to parse negative numbers.