libigl v2.5.0
Loading...
Searching...
No Matches
pso.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include <functional>
#include "pso.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename Scalar , typename DerivedX , typename DerivedLB , typename DerivedUB >
Scalar igl::pso (const std::function< Scalar(DerivedX &) > f, const Eigen::MatrixBase< DerivedLB > &LB, const Eigen::MatrixBase< DerivedUB > &UB, const int max_iters, const int population, DerivedX &X)
 Global optimization with the particle swarm algorithm.
 
template<typename Scalar , typename DerivedX , typename DerivedLB , typename DerivedUB , typename DerivedP >
Scalar igl::pso (const std::function< Scalar(DerivedX &) > f, const Eigen::MatrixBase< DerivedLB > &LB, const Eigen::MatrixBase< DerivedUB > &UB, const Eigen::DenseBase< DerivedP > &P, const int max_iters, const int population, DerivedX &X)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.