Geogram Version 1.9.6-rc
A programming library of geometric algorithms
Loading...
Searching...
No Matches
GEO::MatrixMixedConstrainedSolver Struct Reference

Public Member Functions

 MatrixMixedConstrainedSolver (index_t p_nb_vars)
 
index_t size () const
 Gets the number of variables.
 
void set_multiplicity (index_t id, int period)
 
void end_pass (index_t p_pass)
 
void begin_constraint ()
 
void add_constraint_coeff (index_t id, double coeff)
 
bool end_constraint ()
 
void start_new_iter ()
 
bool converged ()
 
void end_iter ()
 
void begin_energy ()
 
void add_energy_coeff (index_t id, double coeff)
 
void add_energy_rhs (double rhs)
 
void end_energy ()
 
double value (index_t i)
 
double show_var (index_t i)
 

Public Attributes

vector< Coeffnew_constraint
 
bool solved
 
MatrixM M
 
index_t size_
 
std::vector< double > V
 
std::vector< bool > fixed
 
int snap_size
 

Detailed Description

Definition at line 506 of file mixed_constrained_solver.h.

Constructor & Destructor Documentation

◆ MatrixMixedConstrainedSolver()

GEO::MatrixMixedConstrainedSolver::MatrixMixedConstrainedSolver ( index_t  p_nb_vars)
inline

Definition at line 508 of file mixed_constrained_solver.h.

Member Function Documentation

◆ add_constraint_coeff()

void GEO::MatrixMixedConstrainedSolver::add_constraint_coeff ( index_t  id,
double  coeff 
)
inline

Definition at line 539 of file mixed_constrained_solver.h.

◆ add_energy_coeff()

void GEO::MatrixMixedConstrainedSolver::add_energy_coeff ( index_t  id,
double  coeff 
)
inline

Definition at line 644 of file mixed_constrained_solver.h.

◆ add_energy_rhs()

void GEO::MatrixMixedConstrainedSolver::add_energy_rhs ( double  rhs)
inline

Definition at line 654 of file mixed_constrained_solver.h.

◆ begin_constraint()

void GEO::MatrixMixedConstrainedSolver::begin_constraint ( )
inline

Definition at line 535 of file mixed_constrained_solver.h.

◆ begin_energy()

void GEO::MatrixMixedConstrainedSolver::begin_energy ( )
inline

Definition at line 643 of file mixed_constrained_solver.h.

◆ converged()

bool GEO::MatrixMixedConstrainedSolver::converged ( )
inline

Definition at line 621 of file mixed_constrained_solver.h.

◆ end_constraint()

bool GEO::MatrixMixedConstrainedSolver::end_constraint ( )
inline

Definition at line 546 of file mixed_constrained_solver.h.

◆ end_energy()

void GEO::MatrixMixedConstrainedSolver::end_energy ( )
inline

Definition at line 656 of file mixed_constrained_solver.h.

◆ end_iter()

void GEO::MatrixMixedConstrainedSolver::end_iter ( )
inline

Definition at line 631 of file mixed_constrained_solver.h.

◆ end_pass()

void GEO::MatrixMixedConstrainedSolver::end_pass ( index_t  p_pass)
inline

Definition at line 530 of file mixed_constrained_solver.h.

◆ set_multiplicity()

void GEO::MatrixMixedConstrainedSolver::set_multiplicity ( index_t  id,
int  period 
)
inline

Definition at line 523 of file mixed_constrained_solver.h.

◆ show_var()

double GEO::MatrixMixedConstrainedSolver::show_var ( index_t  i)
inline

Definition at line 669 of file mixed_constrained_solver.h.

◆ size()

index_t GEO::MatrixMixedConstrainedSolver::size ( ) const
inline

Gets the number of variables.

Returns
the number of variables.

Definition at line 518 of file mixed_constrained_solver.h.

◆ start_new_iter()

void GEO::MatrixMixedConstrainedSolver::start_new_iter ( )
inline

Definition at line 552 of file mixed_constrained_solver.h.

◆ value()

double GEO::MatrixMixedConstrainedSolver::value ( index_t  i)
inline

Definition at line 659 of file mixed_constrained_solver.h.

Member Data Documentation

◆ fixed

std::vector<bool> GEO::MatrixMixedConstrainedSolver::fixed

Definition at line 687 of file mixed_constrained_solver.h.

◆ M

MatrixM GEO::MatrixMixedConstrainedSolver::M

Definition at line 684 of file mixed_constrained_solver.h.

◆ new_constraint

vector<Coeff> GEO::MatrixMixedConstrainedSolver::new_constraint

Definition at line 549 of file mixed_constrained_solver.h.

◆ size_

index_t GEO::MatrixMixedConstrainedSolver::size_

Definition at line 685 of file mixed_constrained_solver.h.

◆ snap_size

int GEO::MatrixMixedConstrainedSolver::snap_size

Definition at line 688 of file mixed_constrained_solver.h.

◆ solved

bool GEO::MatrixMixedConstrainedSolver::solved

Definition at line 683 of file mixed_constrained_solver.h.

◆ V

std::vector<double> GEO::MatrixMixedConstrainedSolver::V

Definition at line 686 of file mixed_constrained_solver.h.


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