containsVertex
getWeight