public void makeAdjoinListAccordingToTwoMetrix(String[][] metrix) {

		int line = metrix.length;// ά
		int cols = metrix[0].length;// ά

		for (int i = 0; i < line; i++) {
			Node tempNode = nodes[i];
			Node tempNode2 = new Node();
			int number = 0;
			for (int j = 0; j < cols; j++) {
				if (!metrix[i][j].equals("0")) {

					Node node = new Node();
					node.setNextNode(null);
					node.setNodeId(String.valueOf(j + 1));
					node.setVisited(false);

					nodes[i].setNextNode(node);
					nodes[i] = node;
					number++;
					if (number == 1) {// ¼ָĵһԪ
						tempNode2 = nodes[i];
					}
				}
			}
			nodes[i] = tempNode;
			if (number >= 1) {
				nodes[i].setNextNode(tempNode2);
			}
		}
	}