NodeListGraph(int vecticeCount) {
		if(vecticeCount <= 0) {
			throw new IllegalArgumentException();
		}
		
		@SuppressWarnings("unchecked")
		LinkedList<EdgePair>[] nodeListArray = (LinkedList<EdgePair>[]) new LinkedList<?>[vecticeCount];
		edges = new TreeSet<Integer>();
		
		for(int i = 0; i < vecticeCount; i++) {
			nodeListArray[i] = new LinkedList<>();
		}
		
		this.nodeListArray = nodeListArray;
		
	}