@Test public void given_aCyclycGraph() throws Exception { final File file = PropertiesUtils.getResourceFile("ingest_acyc.json"); final JsonNode json = JsonHandler.getFromFile(file); final DirectedGraph g = new DirectedGraph(json); final DirectedCycle dc = new DirectedCycle(g); assertFalse(dc.isCyclic()); }
public boolean isCyclic() { return isCyclic; }
DirectedCycle { public boolean isCyclic() { return isCyclic; } }
DirectedCycle { public boolean isCyclic() { return isCyclic; } DirectedCycle(DirectedGraph graph); }
DirectedCycle { public boolean isCyclic() { return isCyclic; } DirectedCycle(DirectedGraph graph); boolean hasCycle(); boolean isCyclic(); Stack<Integer> getCycle(); }
DirectedCycle { public boolean isCyclic() { return isCyclic; } DirectedCycle(DirectedGraph graph); boolean hasCycle(); boolean isCyclic(); Stack<Integer> getCycle();  }