humoto
Public Member Functions | Protected Member Functions | List of all members
humoto::SolverGuessSolutionMixin< t_Solver > Class Template Referenceabstract

Detailed Description

template<class t_Solver>
class humoto::SolverGuessSolutionMixin< t_Solver >

Mixin solver interface (solution guessing)

Template Parameters
t_Solverbase solver class

Definition at line 194 of file solver.h.

#include <solver.h>

Inheritance diagram for humoto::SolverGuessSolutionMixin< t_Solver >:
Inheritance graph

Public Member Functions

void solve (humoto::Solution &solution, const humoto::OptimizationProblem &hierarchy, const humoto::Solution &solution_guess)
 Solve an optimization problem (using previously specified parameters) More...
 

Protected Member Functions

 SolverGuessSolutionMixin ()
 
 ~SolverGuessSolutionMixin ()
 Protected destructor: prevent destruction of the child classes through a base pointer. More...
 
virtual void setSolutionGuess (const humoto::Solution &solution_guess)=0
 Set solution guess. More...
 

Constructor & Destructor Documentation

◆ ~SolverGuessSolutionMixin()

template<class t_Solver>
humoto::SolverGuessSolutionMixin< t_Solver >::~SolverGuessSolutionMixin ( )
inlineprotected

Protected destructor: prevent destruction of the child classes through a base pointer.

Definition at line 206 of file solver.h.

◆ SolverGuessSolutionMixin()

template<class t_Solver>
humoto::SolverGuessSolutionMixin< t_Solver >::SolverGuessSolutionMixin ( )
inlineprotected

Definition at line 207 of file solver.h.

Member Function Documentation

◆ setSolutionGuess()

template<class t_Solver>
virtual void humoto::SolverGuessSolutionMixin< t_Solver >::setSolutionGuess ( const humoto::Solution solution_guess)
protectedpure virtual

Set solution guess.

Parameters
[in]solution_guess

Implemented in humoto::qpoases::Solver.

◆ solve()

template<class t_Solver>
void humoto::SolverGuessSolutionMixin< t_Solver >::solve ( humoto::Solution solution,
const humoto::OptimizationProblem hierarchy,
const humoto::Solution solution_guess 
)
inline

Solve an optimization problem (using previously specified parameters)

Parameters
[out]solution
[in]hierarchy
[in]solution_guess

Definition at line 230 of file solver.h.


The documentation for this class was generated from the following file: