public boolean contains(Node startNode, Node endNode){
		edgeIterator.reset();
		while(edgeIterator.hasNext()){
			Edge e = edgeIterator.next();
			if((e.startNode.ID == startNode.ID)&&(e.endNode.ID == endNode.ID)){
				return true;
			}
		}
		return false;
	}