Add operator() to the vertex class