Djikstra for tight graphs, spanning trees, sparse table.