/** * Reverse the atom order of the provided chemical graph. * * @param g chemical graph * @return a copy of the original graph with the order of the atoms * reversed */ public static Graph reverse(Graph g) { return g.permute(reverse(g.order())); }
/** * Reverse the atom order of the provided chemical graph. * * @param g chemical graph * @return a copy of the original graph with the order of the atoms * reversed */ public static Graph reverse(Graph g) { return g.permute(reverse(g.order())); }