Next: Freeing boxes in a
Up: Management of boxes list
Previous: Management of boxes list
Contents
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
- DimVar: number of ranges in the box
- Box: the list of box
- Current_Box: the insertion point for the new boxes
- Nb_Box: the current number of boxes in the
list. Afterward the new number of boxes in the list
- New_Box: the list of boxes to add
- Nb_New_Box: the number of boxes to add
- MaxBox: the maximal number of boxes in the list
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
- GBox: the list of simplified jacobian
- GNew_Box: the simplified jacobian of the new boxes
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: Freeing boxes in a
Up: Management of boxes list
Previous: Management of boxes list
Contents
Jean-Pierre Merlet
2012-12-20