Fragment

data class Fragment(id: String, name: String, type: String, atoms: List<ConfLib.AtomInfo>, bonds: List<ConfLib.Bond>, anchors: List<ConfLib.Anchor>, confs: Map<String, ConfLib.Conf>, motions: List<ConfLib.ContinuousMotion>)

Functions

Link copied to clipboard
fun bfs(source: ConfLib.AtomInfo, visitSource: Boolean = false, shouldVisit: (fromAtom: ConfLib.AtomInfo, toAtom: ConfLib.AtomInfo) -> Boolean = { _, _ -> true }): Iterable<ConfLib.AtomInfo>

Walk the bond graph using breadth-first search.

Link copied to clipboard
fun bondedAtoms(atom: ConfLib.AtomInfo): List<ConfLib.AtomInfo>
Link copied to clipboard
fun getAtomsFor(anchor: ConfLib.Anchor): List<ConfLib.AtomInfo>
Link copied to clipboard
fun getConfs(vararg id: String): MutableSet<ConfLib.Conf>
Link copied to clipboard
fun uniqueId(conflib: ConfLib): String

Properties

Link copied to clipboard
val anchors: List<ConfLib.Anchor>
Link copied to clipboard
val atoms: List<ConfLib.AtomInfo>
Link copied to clipboard
val bonds: List<ConfLib.Bond>
Link copied to clipboard
val confs: Map<String, ConfLib.Conf>
Link copied to clipboard
val id: String
Link copied to clipboard
val motions: List<ConfLib.ContinuousMotion>
Link copied to clipboard
val name: String
Link copied to clipboard
val type: String