public static void FillSubGraph (LinkedList<Node> nodeList, ArrayList<Node> subGraph) {
		for (int i = 0; i < subGraph.size (); i++) {
			Node current = subGraph.get (i);
			Node[] pred = current.GetPred ();
			Node[] succ = current.GetSucc ();
			current.SetVisited (true);
			for (int j = 0; j < pred.length; j++) {
				Node predNode = pred[j];
				if ((predNode != null) && (predNode.GetMobility () >= 2) && (!predNode.DidVisit ())) {
					subGraph.add (predNode);
					predNode.SetVisited (true);
				}
			}
			for (int k = 0; k < succ.length; k++) {
				Node succNode = succ[k];
				if ((succNode != null) && (succNode.GetMobility () >= 2) && (!succNode.DidVisit ())) {
					subGraph.add (succNode);
					succNode.SetVisited (true);
				}
			}
		}

	}