Short syntax for dijkstra initialization.