Update vertex class

This commit is contained in:
2022-02-24 16:25:01 -06:00
parent 8745550e11
commit f385ebc31f

View File

@@ -1,14 +1,20 @@
public class Vertex { public class Vertex {
private final Integer peptide; private final Integer vertexLabel;
private final Integer sequence;
private final Integer occupancy; private final Integer occupancy;
public Vertex(Integer peptide, Integer occupancy) { public Vertex(Integer vertexLabel, Integer sequence, Integer occupancy) {
this.peptide = peptide; this.vertexLabel = vertexLabel;
this.sequence = sequence;
this.occupancy = occupancy; this.occupancy = occupancy;
} }
public Integer getPeptide() { public Integer getVertexLabel() { return vertexLabel; }
return peptide;
public Integer getSequence() {
return sequence;
} }
public Integer getOccupancy() { public Integer getOccupancy() {