kiwi
Solver
Solver
#include <solver.h>class SolverList of all members
| Name | Kind | Owner |
|---|---|---|
Solver | function | Declared here |
addConstraint | function | Declared here |
removeConstraint | function | Declared here |
hasConstraint | function | Declared here |
addEditVariable | function | Declared here |
removeEditVariable | function | Declared here |
hasEditVariable | function | Declared here |
suggestValue | function | Declared here |
updateVariables | function | Declared here |
reset | function | Declared here |
dump | function | Declared here |
dump | function | Declared here |
dumps | function | Declared here |
m_impl | variable | Declared here |
Solver | function | Declared here |
Public Methods
| Return | Name | Description |
|---|---|---|
Solver | Defaulted constructor. | |
void | addConstraint inline | |
void | removeConstraint inline | |
bool | hasConstraint const inline | |
void | addEditVariable inline | |
void | removeEditVariable inline | |
bool | hasEditVariable const inline | |
void | suggestValue inline | |
void | updateVariables inline | |
void | reset inline | |
void | dump inline | |
void | dump inline | |
std::string | dumps inline |
Solver
Solver() = defaultDefaulted constructor.
addConstraint
inline
inline void addConstraint(const Constraint & constraint)removeConstraint
inline
inline void removeConstraint(const Constraint & constraint)hasConstraint
const inline
inline bool hasConstraint(const Constraint & constraint) constaddEditVariable
inline
inline void addEditVariable(const Variable & variable, double strength)removeEditVariable
inline
inline void removeEditVariable(const Variable & variable)hasEditVariable
const inline
inline bool hasEditVariable(const Variable & variable) constsuggestValue
inline
inline void suggestValue(const Variable & variable, double value)updateVariables
inline
inline void updateVariables()reset
inline
inline void reset()dump
inline
inline void dump()dump
inline
inline void dump(std::ostream & out)dumps
inline
inline std::string dumps()Private Attributes
| Return | Name | Description |
|---|---|---|
impl::SolverImpl | m_impl |
m_impl
impl::SolverImpl m_implPrivate Methods
| Return | Name | Description |
|---|---|---|
Solver |
Solver
Solver(const Solver &)