|
static VectorType | generateVertex (const FloatType coefficient, const VectorType ¢roid, const VectorType &worstVertex) |
|
static FloatType | valueStandardDeviation (const std::vector< IndexValuePair > &sortedPairs) |
|
static VectorType | centroid (const MatrixType &vertices, const std::vector< IndexValuePair > &pairs) |
| Calculates the simplex centroid excluding the worst vertex.
|
|
template<typename UpdateFunction > |
static void | shrink (Eigen::Ref< MatrixType > vertices, std::vector< IndexValuePair > &pairs, UpdateFunction &&function) |
|
static void | replaceWorst (std::vector< IndexValuePair > &sortedPairs, const VectorType &newVertex, const FloatType newValue, Eigen::Ref< MatrixType > vertices) |
|
template<typename UpdateFunction , typename Checker > |
static OptimizationReturnType | minimize (Eigen::Ref< MatrixType > vertices, UpdateFunction &&function, Checker &&check) |
|
template<typename FloatType = double>
struct Scine::Molassembler::Temple::NelderMead< FloatType >
Nelder-Mead optimization.
- Template Parameters
-
FloatType | Type to represent floating point numbers |