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 {
private final Integer peptide;
private final Integer vertexLabel;
private final Integer sequence;
private final Integer occupancy;
public Vertex(Integer peptide, Integer occupancy) {
this.peptide = peptide;
public Vertex(Integer vertexLabel, Integer sequence, Integer occupancy) {
this.vertexLabel = vertexLabel;
this.sequence = sequence;
this.occupancy = occupancy;
}
public Integer getPeptide() {
return peptide;
public Integer getVertexLabel() { return vertexLabel; }
public Integer getSequence() {
return sequence;
}
public Integer getOccupancy() {