public void ReadDimacs() throws NumberFormatException, IOException {
		File file = new File(CvsInput);

		BufferedReader bufRdr = new BufferedReader(new FileReader(file));
		String line = null;

		String[] readed = new String[5];

		int row = 0;
		int col = 0;
		
		upLoadNodes();
		
		while ((line = bufRdr.readLine()) != null && row < NumArcs + 1) {
			StringTokenizer st = new StringTokenizer(line, " ");
			while (st.hasMoreTokens()) {
				// get next token and store it in the array
				readed[col] = st.nextToken();
				col++;
			}

			if (row >= 1) {
				Arcs[row - 1][0] = (Integer.parseInt(readed[1]) - 1);
				Arcs[row - 1][1] = (Integer.parseInt(readed[2]) - 1);
				Distance[row - 1] = Integer.parseInt(readed[3]);
				Time[row - 1] = Integer.parseInt(readed[4]);
				// Add edges to the network
				Gd.addWeightedEdge( Gd.getVertexByID(Arcs[row - 1][0]), Gd.getVertexByID(Arcs[row - 1][1]),Distance[row - 1], Time[row - 1] , row-1);
			}

			col = 0;
			row++;

		}
		
	}