Bloom filter, shortest path for weighted and unweighted graphs, restructure graph interface