add getter/setter for potential

This commit is contained in:
eugenefischer
2022-10-14 17:32:37 -05:00
parent 55a5d9a892
commit d3066095d9

View File

@@ -74,4 +74,12 @@ public class Vertex implements Serializable, Comparable<Vertex> {
public int compareTo(Vertex other) {
return this.vertexLabel - other.getVertexLabel();
}
public Double getPotential() {
return potential;
}
public void setPotential(Double potential) {
this.potential = potential;
}
}