make sure VertexHopGraphProvider uses the generic base criteria so different kinds of creteria could be used