![]() |
AliceVision
Photogrammetric Computer Vision Framework
|
#include <ISolver.hpp>
Public Member Functions | |
| ISolver (int nbParams) | |
| virtual bool | setup (const LPConstraints &constraints)=0 |
| Setup constraint for the given library. | |
| virtual bool | setup (const LPConstraintsSparse &constraints)=0 |
| virtual bool | solve ()=0 |
| Setup the feasibility and found the solution that best fit the constraint. | |
| virtual bool | getSolution (std::vector< double > &estimatedParams)=0 |
| Get back solution. Call it after solve. | |
Protected Attributes | |
| int | _nbParams |
Generic LP solver (Linear Programming) It's an interface to setup constraint and objective of a Linear Program. Embed constraint setup, problem solving, and parameters getter.
1.8.17