This commit is contained in:
eugenefischer
2022-09-26 23:38:56 -05:00
parent 70fec95a00
commit 14fcfe1ff3

View File

@@ -124,6 +124,7 @@ public interface GraphModificationFunctions {
static Boolean RelativeReadCountFilterFunction(Integer threshold, Integer alphaReadCount, Integer betaReadCount) { static Boolean RelativeReadCountFilterFunction(Integer threshold, Integer alphaReadCount, Integer betaReadCount) {
return Math.abs(alphaReadCount - betaReadCount) < threshold; return Math.abs(alphaReadCount - betaReadCount) < threshold;
} }
static void addRemovedEdges(SimpleWeightedGraph<Vertex, DefaultWeightedEdge> graph, static void addRemovedEdges(SimpleWeightedGraph<Vertex, DefaultWeightedEdge> graph,
Map<Vertex[], Integer> removedEdges) { Map<Vertex[], Integer> removedEdges) {
for (Vertex[] edge : removedEdges.keySet()) { for (Vertex[] edge : removedEdges.keySet()) {