ConicBundle
ModificationBase.hxx
1 
2 
3 
4 #ifndef CONICBUNDLE_MODIFICATIONBASE_HXX
5 #define CONICBUNDLE_MODIFICATIONBASE_HXX
6 
7 
15 #include <map>
16 #include "CBout.hxx"
17 #include "indexmat.hxx"
18 
19 namespace ConicBundle {
20 
24 
28 class ModificationBase: public CBout
29 {
30 protected:
31 
32  //-----------------------------------------------------------------------
36 
71  CH_Matrix_Classes::Indexmatrix& append_del_ind,
72  const CH_Matrix_Classes::Indexmatrix& input_map,
73  CH_Matrix_Classes::Integer& append_dim,
75  CH_Matrix_Classes::Integer newdim) const;
76 
85  const CH_Matrix_Classes::Indexmatrix& del_ind,
86  CH_Matrix_Classes::Integer dim) const;
87 
89 
90 public:
91  //-----------------------------------------------------------------------
95 
97  virtual ~ModificationBase();
98 
100  ModificationBase(const CBout* cbout=0,int incr=0):CBout(cbout,incr){}
101 
103 
104 
105 };
106 
107 
108 
109 
110 
112 
113 }
114 
115 #endif
116 
int Integer
all integer numbers in calculations and indexing are of this type
Definition: matop.hxx:40
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 t...
Matrix class for integral values of type Integer
Definition: indexmat.hxx:195
basic routines for the base classes for reorganizing maps
Definition: ModificationBase.hxx:28
conic bundle method solver for sum of convex functions. See the ConicBundle_Manual for a quick introd...
Definition: CBSolver.hxx:22
base class for uniform use of WARNINGS and ERRORS (at some point in time)
Definition: CBout.hxx:30
Header declaring the output class CBout.
Header declaring the classes CH_Matrix_Classes::Range and CH_Matrix_Classes::Indexmatrix for supporti...
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 ...
CBout(const CBout *cb=0, int incr=-1)
calls set_cbout
Definition: CBout.hxx:68