Refactoring to allow graphs from file

This commit is contained in:
2022-02-19 17:23:55 -06:00
parent cfa473c7ce
commit 568a6be3c7
8 changed files with 730 additions and 244 deletions

17
src/main/java/Vertex.java Normal file
View File

@@ -0,0 +1,17 @@
public class Vertex {
private final Integer peptide;
private final Integer occupancy;
public Vertex(Integer peptide, Integer occupancy) {
this.peptide = peptide;
this.occupancy = occupancy;
}
public Integer getPeptide() {
return peptide;
}
public Integer getOccupancy() {
return occupancy;
}
}