private List<String> findLongRoutine(Node[] nodes2, int k) {
		List<String> longRoutineList = new ArrayList<String>();

		Node tempNode = nodes2[k];
		String nodeId = tempNode.getNodeId();
		longRoutineList.add(nodeId);// ӽб
		makeVisitedNodeTrue(nodeId);// ͬڵŵĽڵȫΪtrue;
		tempNode = tempNode.getNextNode();
		if (tempNode != null) {
			int tempNodeId = Integer.parseInt(String.valueOf(tempNode
					.getNodeId()));
			while (!nodes2[tempNodeId - 1].isVisited()) {
				longRoutineList.add(tempNode.getNodeId());// ӽб
				makeVisitedNodeTrue(tempNode.getNodeId());// ͬڵŵĽڵȫΪtrue;
				tempNode = nodes2[tempNodeId - 1].getNextNode();
				while (tempNode.isVisited()) {
					tempNode = tempNode.getNextNode();
				}
				tempNodeId = Integer.parseInt(String.valueOf(tempNode
						.getNodeId()));
			}

		}

		// ½ڵķʱΪfalse
		makeAllNodesVisitedFalse(nodes2);
		return longRoutineList;
	}