Differential D3878 Diff 13691 java/src/main/java/org/softwareheritage/graph/benchmark/ListEmptyOrigins.java
Changeset View
Changeset View
Standalone View
Standalone View
java/src/main/java/org/softwareheritage/graph/benchmark/ListEmptyOrigins.java
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | public static void main(String[] args) { | ||||
ListEmptyOrigins leo = new ListEmptyOrigins(); | ListEmptyOrigins leo = new ListEmptyOrigins(); | ||||
try { | try { | ||||
leo.load_graph(graphPath); | leo.load_graph(graphPath); | ||||
} catch (IOException e) { | } catch (IOException e) { | ||||
System.out.println("Could not load graph: " + e); | System.out.println("Could not load graph: " + e); | ||||
System.exit(2); | System.exit(2); | ||||
} | } | ||||
ArrayList<Long> badlist = leo.compute(leo.graph.getBVGraph(false)); | ArrayList<Long> badlist = leo.compute(leo.graph); | ||||
for (Long bad : badlist) { | for (Long bad : badlist) { | ||||
System.out.println(bad); | System.out.println(bad); | ||||
} | } | ||||
} | } | ||||
} | } |