ConicBundle
|
basic routines for the base classes for reorganizing maps More...
#include <ModificationBase.hxx>
Public Member Functions | |
Constructors and initialization | |
virtual | ~ModificationBase () |
ModificationBase (const CBout *cbout=0, int incr=0) | |
Public Member Functions inherited from ConicBundle::CBout | |
virtual void | set_out (std::ostream *out=0, int print_level=1) |
Specifies the output level (out==NULL: no output at all, out!=NULL and level=0: errors and warnings, level>0 increasingly detailed information) More... | |
virtual void | set_cbout (const CBout *cb, int incr=-1) |
Specifies the output level relative to the given CBout class. More... | |
void | clear_cbout () |
reset to default settings (out=0,print_level=1) | |
CBout (const CBout *cb=0, int incr=-1) | |
calls set_cbout | |
CBout (std::ostream *outp, int pl=1) | |
initialize correspondingly | |
CBout (const CBout &cb, int incr=0) | |
copy constructor | |
virtual bool | cb_out (int pl=-1) const |
Returns true if out!=0 and (pl<print_level), pl<0 should be used for WARNINGS and ERRORS only, pl==0 for usual output. | |
std::ostream & | get_out () const |
If cb_out() returned true, this returns the output stream, but it will abort if called with out==0. | |
std::ostream * | get_out_ptr () const |
returns the pointer to the output stream | |
int | get_print_level () const |
returns the print_level | |
virtual int | mfile_data (std::ostream &out) const |
writes problem data to the given outstream | |
Protected Member Functions | |
Internal routines for updating maps in reassign and delete steps | |
int | adapt_map_to_old (CH_Matrix_Classes::Indexmatrix *&adapt_this_map, CH_Matrix_Classes::Indexmatrix *&del_ind, CH_Matrix_Classes::Indexmatrix *&new_ind, CH_Matrix_Classes::Indexmatrix &append_del_ind, const CH_Matrix_Classes::Indexmatrix &input_map, CH_Matrix_Classes::Integer &append_dim, CH_Matrix_Classes::Integer olddim, CH_Matrix_Classes::Integer newdim) const |
internal routine for changing the maps in either of add_reassign_vars and add_reassign_rows More... | |
int | form_map_to_old (CH_Matrix_Classes::Indexmatrix &map_to_old, const CH_Matrix_Classes::Indexmatrix &del_ind, CH_Matrix_Classes::Integer dim) const |
internal routine that converts in either of add_delete_vars and add_delete_rows the list of indices to be deleted into a map_to_old that may the be treated in add_reassign_vars or add_reassign_rows respectively. Returns the number of errors detected in the input map. In case of errors, the returned map will not be valid. | |
basic routines for the base classes for reorganizing maps
|
protected |
internal routine for changing the maps in either of add_reassign_vars and add_reassign_rows
[in,out] | adapt_this_map | holds either var_map_to_old or row_map_to_old |
[in,out] | del_ind | holds either var_del_ind or row_del_ind |
[in,out] | new_ind | holds either var_new_ind or row_new_ind |
[out] | append_del_ind | holds the indices to be deleted in the variables/rows that up till now should have been appended |
[in] | input_map | holds the input reassignment map_to_old for the indices |
[in,out] | append_dim | holds either var_append_dim or row_append_dim |
[in] | olddim | gives either var_olddim or row_olddim |
[in] | newdim | gives either var_newdim or row_newdim at input time |