ConfSpaceIndex

class ConfSpaceIndex(confSpace: ConfSpace)

Establishes an authritative order for all the positions and conformations in the space. Ignores any design positions that have no position conformation space.

Constructors

Link copied to clipboard
fun ConfSpaceIndex(confSpace: ConfSpace)

Types

Link copied to clipboard
interface AtomKey
Link copied to clipboard
inner class ConfInfo(posInfo: ConfSpaceIndex.PosInfo, fragInfo: ConfSpaceIndex.FragInfo, confConfSpace: ConfSpace.ConfConfSpace, index: Int)
Link copied to clipboard
inner class FragInfo(posInfo: ConfSpaceIndex.PosInfo, frag: ConfLib.Fragment, index: Int)
Link copied to clipboard
inner class PosInfo(pos: DesignPosition, moli: Int, posConfSpace: ConfSpace.PositionConfSpace, index: Int)
Link copied to clipboard
class PositionAtomKey(posi: Int, frag: ConfLib.Fragment?, atomi: Int) : ConfSpaceIndex.AtomKey
Link copied to clipboard
data class WildTypeAtomKey(moli: Int, atomi: Int) : ConfSpaceIndex.AtomKey

Functions

Link copied to clipboard
fun atomIndexWildType(moli: Int): AtomIndex

Get the atom index for the wild type atoms in the given molecule.

Link copied to clipboard
fun findMoli(mol: Molecule): Int?
Link copied to clipboard
fun findMoliOrThrow(mol: Molecule): Int
Link copied to clipboard
fun findPosi(pos: DesignPosition): Int?
Link copied to clipboard
fun getPosi(pos: DesignPosition): Int
Link copied to clipboard
fun matchAtoms(assignments: Assignments): List<AtomIndex>

Build an atom index for assigned molecules.

Properties

Link copied to clipboard
val confSpace: ConfSpace
Link copied to clipboard
val fixedAtoms: List<List<Atom>>

Lists of fixed atoms, indexed by molecule index

Link copied to clipboard
val mols: List<Molecule>
Link copied to clipboard
val positions: List<ConfSpaceIndex.PosInfo>