next up previous contents
Next: Parallel processing Up: Parser, Generic Solver and Previous: Using the generic analyzer   Contents

Using the parser programs

The parser programs are available in the library lib_Parser.a. You will have to include the following header files:
 
header_parser.h
header_Solve_General_Interval.h
header_Utilities_Interval.h
If you are planing to use the analyzer you must include the library lib_UP.a. In your program you must avoid to use variables whose name include the symbols _IA and _IS.

The following programs are equivalent to the standard ALIAS programs except that they use the parser.

 
int Kantorovitch_Analyzer(int Dimension,  
                 char *Function_File,char *Gradient_File,
                 char *Hessian_File,
                 VECTOR &Input,double *eps);

int Newton(int Dimension,
          char * TheIntervalFunction_File,
          char * Gradient_File,
          VECTOR &Input,double Accuracy,int Max_Iter,VECTOR &Residu);

int Solve_General_Interval(int Dimension_Var,int Dimension_Eq,
        char * TheIntervalFunction_File,
                INTERVAL_VECTOR & TheDomain, 
                int Order,
                int Iteration,
                int Stop_First_Sol,
                double Accuracy_Variable,
                double Accuracy,
                double Dist_Sol_Diff,
                INTERVAL_MATRIX & Solution,int Nb_Max_Solution,
                int nb_inequalities,char *Ineq_File);
int Solve_General_Gradient_Interval(int Dimension,int Dimension_Eq,
        char * TheIntervalFunction_File,
                char * Gradient_File,
                INTERVAL_VECTOR & TheDomain, 
                int Order,
                int Iteration,
                int Stop_First_Sol,
                double Accuracy_Variable,
                double Accuracy,
                double Dist_Sol_Diff,
                INTERVAL_MATRIX & Solution,int Nb_Max_Solution,
                int nb_inequalities,char *Ineq_File);
int Solve_General_Gradient_Interval(int Dimension,int Dimension_Eq,
        char * TheIntervalFunction_File,
                char * Gradient_File,
                INTERVAL_VECTOR & TheDomain, 
                int Order,
                int Iteration,
                int Stop_First_Sol,
                double Accuracy_Variable,
                double Accuracy,
                double Dist_Sol_Diff,
                INTERVAL_MATRIX & Solution,int Nb_Max_Solution,
                INTEGER_VECTOR &Init_Grad,
                int nb_inequalities,
                char *Ineq_File);
int Solve_General_JH_Interval(int Dimension,int Dimension_Eq,
        char * TheIntervalFunction_File,
                char * Gradient_File,
                char * Hessian_File,
                INTERVAL_VECTOR & TheDomain, 
                int Order,
                int Iteration,
                int Stop_First_Sol,
                double Accuracy_Variable,
                double Accuracy,
                INTERVAL_MATRIX & Solution,
                INTEGER_VECTOR & Is_Kanto,
                int Apply_Kanto,
                int Nb_Max_Solution,
                int nb,char *file);



Jean-Pierre Merlet 2012-12-20