public int getLabel ( GraphObject go ) { if ( ! dist . containsKey ( go ) ) { // Absence of label is interpreted as infinite return Integer . MAX_VALUE - ( limit * 2 ) ; } else { return dist . get ( go ) ; } }
Gets the distance label of the object .