Open Babel
3.0
|
#include <openbabel/rotor.h>
Public Member Functions | |
OBRotorKeys () | |
void | Clear () |
unsigned int | NumKeys () |
void | AddRotor (unsigned int size) |
bool | Next () |
std::vector< int > | GetKey () |
A class to generate all possible rotorKeys.
|
inline |
A class to generate all possible rotorKeys.
This class can generate all possible rotor keys for a set of OBRotors which can all have their own resolution. Thanks to Yongjin Xu for this patch.
the code blow is taken from OBForceField::SystematicRotorSearch():
Constructor
|
inline |
Clear all rotors.
|
inline |
Number of rotor keys (= number of possible conformers)
|
inline |
Add a rotor
size | the rotor resolution |
Referenced by OBForceField::SystematicRotorSearchInitialize(), and OpenBabel::UpdateConformersFromTree().
|
inline |
Select the next rotor key
Referenced by OBForceField::SystematicRotorSearchInitialize().
|
inline |
Get the currently selected rotor key
Referenced by OBForceField::SystematicRotorSearchInitialize().