public int[] getSessionIDsIndexes(ArrayList<Long> sessionIDs, boolean isSplit){
		int[] indexes = null;
		if(!isSplit){
			// compute the positions of session-IDs in the distance matrix
			indexes = new int[sessionIDs.size()];
			for(int i=0; i<sessionIDs.size(); i++){
				long sesID = sessionIDs.get(i);
				int j;
				for(j=0; j<m_names.size(); j++){
					long sesID2 = m_names.get(j);
					if(sesID==sesID2){
						break;
					}
				}
				indexes[i] = j;
			}
		} else {
			// compute the positions of session-IDs in the split distance matrix
			ArrayList<Integer> indexesAL = new ArrayList<Integer>();
			for(int i=0; i<sessionIDs.size(); i++){
				long sesID = sessionIDs.get(i);
				for(int j=0; j<m_namesSplit.size(); j++){
					long sesIDSplit = m_namesSplit.get(j);
					long sesID2 = sesIDSplit / 100l;
					if(sesID==sesID2){
						indexesAL.add(j);
					}
				}
			}
			// convert to int[]
			indexes = new int[indexesAL.size()];
			for(int i=0; i<indexesAL.size(); i++){
				indexes[i] = indexesAL.get(i);
			}
		}
		return indexes;
	}