public void run() {
			try {
				int n,tmppassnode;
				Scanner scan=new Scanner(new File("res/sites.txt"));
				while(scan.hasNext()){
					Node a=new Node();//here !!!!Attention:must be new every time
					a.index=scan.nextInt();
					a.setName(scan.next());
					a.x=scan.nextInt();
					a.y=scan.nextInt();
					addNode(a);
				}
				scan.close();
				Scanner scan2=new Scanner(new File("res/data.in"));
				while(scan2.hasNext()){
					Route b=new Route();
					b.index=scan2.nextInt();
					b.len=scan2.nextInt();
					n=b.len;
					for(int j=0;j<n;j++){
						tmppassnode=scan2.nextInt();
						b.addPassNode(tmppassnode);
						node[tmppassnode].addPassRoute(b.index);
					}
					b.price=scan2.nextInt();
					b.time=scan2.nextInt();
					b.speed=scan2.nextDouble();
//					System.out.println(b.speed);
					addRoute(b);
				}
				scan2.close();
				for(int i=0;i<nodelen;i++){
					for(int j=0;j<nodelen;j++){
						if(i==j)time1[i][j]=0;
//						System.out.print(new DecimalFormat("000.00").format(time1[i][j])+" ");
					}
//					System.out.println();
				}
			} catch (FileNotFoundException e) {
				System.out.println("The file not find.");
			}
			
			
		}