public ArrayList<Object> selectByStopStationsPath(
			ArrayList<Station> stopStations) {
		if (paths.size() == 0) {
			System.out.println("Path not found.");
		} else {
			if (paths.size() == 1) {
				System.out.println("One path founded.");
				printPaths();
				return paths.get(0);
			} else {
				ArrayList<Object> validPath = new ArrayList<Object>();
				boolean firstCont = false;
				System.out.println("Several paths founded.");

				for (ArrayList<Object> path : paths) {
					if (path.containsAll(stopStations)) {
						if (!firstCont) {
							validPath = path;
							firstCont = true;
						}

						if (path.size() < validPath.size()) {
							validPath = path;
						}
					}
				}

				return validPath;
			}
		}

		return null;
	}