Djikstras works. Add equality.