/** * Randomise 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 * randomised */ public static Graph randomise(Graph g) { return g.permute(random(g.order())); }