|
AvogadroLibs 2.1.0-20261111
|
#include <bondorderperception.h>
Public Attributes | |
| bool | useGeometry = true |
| std::size_t | stepBudgetPerComponent = 100000 |
Settings for Molecule::perceiveBondOrders().
| bool useGeometry = true |
Use the 3D coordinates, when the molecule has them, to decide which of several equally valid assignments to try first (see Molecule::perceiveBondOrders()). Never changes whether a valid assignment is found.
| std::size_t stepBudgetPerComponent = 100000 |
How many branching steps the search may spend on each connected group of unsaturated atoms before giving that group up. Isolated double and triple bonds are settled by propagation alone, but rings and other conjugated systems need branching: benzene and naphthalene take one step, biphenyl two, coronene five. A budget of zero therefore fails every group that propagation cannot settle.