@Test public void smallRingTest_linked() throws Exception { Graph g = Graph.fromSmiles("C1CCC(CC1)=C1CCCCC1"); assertFalse(Localise.inSmallRing(g, g.edge(3, 6))); }
static boolean inSmallRing(Graph g, Edge e) { BitSet visit = new BitSet(); return inSmallRing(g, e.either(), e.other(e.either()), e.other(e.either()), 1, new BitSet()); }
Localise { static boolean inSmallRing(Graph g, Edge e) { BitSet visit = new BitSet(); return inSmallRing(g, e.either(), e.other(e.either()), e.other(e.either()), 1, new BitSet()); } }
Localise { static boolean inSmallRing(Graph g, Edge e) { BitSet visit = new BitSet(); return inSmallRing(g, e.either(), e.other(e.either()), e.other(e.either()), 1, new BitSet()); }  }
Localise { static boolean inSmallRing(Graph g, Edge e) { BitSet visit = new BitSet(); return inSmallRing(g, e.either(), e.other(e.either()), e.other(e.either()), 1, new BitSet()); }   }
Localise { static boolean inSmallRing(Graph g, Edge e) { BitSet visit = new BitSet(); return inSmallRing(g, e.either(), e.other(e.either()), e.other(e.either()), 1, new BitSet()); }    }