public function prepend(SourceRoad $road) {
        if (!in_array($road->getName(), $this->priorityQueue)) {
            $this->put($road);
            array_unshift($this->priorityQueue, $road->getName());
        }
    }