protected function buildGraph(&$graph, $distanceComputeCallback, array $objects)
	{
		$graph = new Helpers\Graph();

		while($object = array_shift($objects))
		{
			$graph->addNode(
				$object,
				$this->computeDistances($object, $objects, $distanceComputeCallback)
				);
		}
	}