public class MoleculeGraphs extends Object
| Modifier and Type | Field and Description |
|---|---|
static Rectangle |
defaultBoundingBox |
| Constructor and Description |
|---|
MoleculeGraphs() |
| Modifier and Type | Method and Description |
|---|---|
static int |
countAtomsOfElement(MoleculeGraph graph,
Element element) |
static MoleculeGraph |
createMoleculeGraphFromStructure(OakLeafSubstructure<?> leafSubstructure) |
static List<LinkedList<MoleculeAtom>> |
findMultiPathOfElements(MoleculeGraph graph,
LinkedList<Set<Element>> path) |
static List<LinkedList<MoleculeAtom>> |
findPathOfElements(MoleculeGraph graph,
LinkedList<Element> path) |
static Predicate<MoleculeAtom> |
isElement(Element element) |
static Predicate<MoleculeAtom> |
isOneOfElements(Set<Element> elements) |
static void |
replaceAromaticsWithDoubleBonds(MoleculeGraph graph) |
public static Rectangle defaultBoundingBox
public static MoleculeGraph createMoleculeGraphFromStructure(OakLeafSubstructure<?> leafSubstructure)
public static int countAtomsOfElement(MoleculeGraph graph, Element element)
public static List<LinkedList<MoleculeAtom>> findPathOfElements(MoleculeGraph graph, LinkedList<Element> path)
public static List<LinkedList<MoleculeAtom>> findMultiPathOfElements(MoleculeGraph graph, LinkedList<Set<Element>> path)
public static void replaceAromaticsWithDoubleBonds(MoleculeGraph graph)
public static Predicate<MoleculeAtom> isElement(Element element)
public static Predicate<MoleculeAtom> isOneOfElements(Set<Element> elements)
Copyright © 2018. All rights reserved.