Scine::Readuct
6.0.0
This is the SCINE module ReaDuct.
|
#include <CostCombiner.h>
Public Member Functions | |
void | setFirstCalculatorContribution (double f) |
double | getFirstCalculatorContribution () const |
const ReactionPathCostCalculator & | firstCalculator () const |
ReactionPathCostCalculator & | firstCalculator () |
const ReactionPathCostCalculator & | secondCalculator () const |
ReactionPathCostCalculator & | secondCalculator () |
![]() | |
std::unique_ptr < ReactionPathCostCalculator > | clone () const |
virtual | ~ReactionPathCostCalculator ()=default |
Default destructor. | |
bool | energiesRequired () const |
Whether energies (and their gradients) are required in the cost calculation. More... | |
void | calculateCost (const Utils::BSplines::BSpline &spline, const EnergiesAndGradientsAlongSpline &energyValues) |
Evaluate the cost associated with a given spline. More... | |
double | getCost () const |
Get the cost associated with a given spline (after it has been evaluated). More... | |
Eigen::MatrixXd | getCostDerivatives () const |
Get the cost derivatives associated with a given spline. More... | |
Static Public Attributes | |
static constexpr double | defaultContributionFromFirstCalculator = 0.5 |
Cost calculator combining two other calculators
C1 | First cost calculator |
C2 | Second cost calculator |
|
inline |
Give the contribution of the first calculator; must be between 0.0 and 1.0.