next up previous contents
Next: Freeing boxes in a Up: Management of boxes list Previous: Management of boxes list   Contents

Adding boxes to a list

The procedure ALIAS_Add_Box allows to add boxes to a list:

 
int ALIAS_Add_Box(int DimVar,INTERVAL_MATRIX &Box,int *Current_Box,int *Nb_Box,
         INTERVAL_MATRIX New_Box, int Nb_New_Box,int MaxBox)
where If Reverse_Storage is set to 0 the new boxes will be added at the end of the list. Otherwise all the boxes to add that are smaller (i.e. have a smaller width or if the width are identical a smaller mean diameter) than the box in position Current_Box+1 in the list are added to the list starting at position Current_Box.

There is a similar procedure if the simplified jacobian is also stored:

 
int ALIAS_Add_Box_Gradient(int DimVar,int DimEq,INTERVAL_MATRIX &Box,
             INTEGER_MATRIX &GBox,
             int *Current_Box,int *Nb_Box,
             INTERVAL_MATRIX New_Box, 
             INTEGER_MATRIX GNew_Box,int Nb_New_Box,int MaxBox)
where

If the jacobian is stored instead of the simplified jacobian you may use

 
int ALIAS_Add_Box_Hessian(int DimVar,int DimEq,INTERVAL_MATRIX &Box,
                   INTERVAL_MATRIX &GBox,
                   int *Current_Box,int *Nb_Box,
                   INTERVAL_MATRIX New_Box, 
                   INTERVAL_MATRIX GNew_Box,int Nb_New_Box,int MaxBox)


next up previous contents
Next: Freeing boxes in a Up: Management of boxes list Previous: Management of boxes list   Contents
Jean-Pierre Merlet 2012-12-20