Class declarations for fb/disjkstra.cpp.