public Rangefinder ( ConnectPoint CP, int [][] RouteArray ) {
		
		int PointNum = CP.getPitList ().size (); //n_̐
		
		for ( int i = 0; i < PointNum; i++ ) { //n_1炭肩
			int RouteOutNum = CP.getPitList ().get ( i ).getRteOutList ().size ();
			for ( int j = 0; j < RouteOutNum; j++ ) {
				double x1 = CP.getPitList ().get ( i ).getRoutedataOut ( j ).getTo ().getX ();
				double y1 = CP.getPitList ().get ( i ).getRoutedataOut ( j ).getTo ().getY ();
				double x2 = CP.getPitList ().get ( i ).getX ();
				double y2 = CP.getPitList ().get ( i ).getY ();
				double Length = Math.sqrt ( ( x2 - x1 ) * ( x2 - x1 ) + ( y2 - y1 ) * ( y2 - y1 ) ); //΂Ă2_Ԃ̋vZ
				
				String AiteName = CP.getPitList ().get ( i ).getRoutedataOut ( j ).getTo ().getName ();
				int l = 0;
				
				for ( int k = 0; k < PointNum; k++ ) { //Ȃ̃|CgāAXg̔ԍɓ
					if ( AiteName.equals( CP.getPitList ().get ( k ).getName () ) ){
						l = k; 
						break;
					}
				}
				
				int Costs = getRouteCosts ( CP, 
						CP.getPitList ().get ( i ).getRoutedataOut ( j ).getTo ().getName (), CP.getPitList ().get ( i ).getName() ); //H̃RXg擾
				
				RouteArray[i][l] = (int) Length * Costs; //i
				RouteArray[l][i] = (int) Length * Costs ; //i
				//System.out.println((int)Length + ","+Costs);
			}
			
		}
		//System.out.println("܂");
		
	}