next up previous contents
Next: Using the 3B method Up: Simplification procedures Previous: Rouche   Contents


Concatenation of simplification procedures

In some cases you may have the opportunity to write more than one simplification procedure (for example by using the HullConsistency procedure and writing you own simplification procedure). Currently the procedures in the C++ library and in the Maple library accept only one simplification procedure. But you may concatenate an unlimited number of simplification procedures by using the procedure CatSimp. The first argument of this procedure is the name of the procedure that will be used as unique simplification procedures by ALIAS-C++. The following arguments are names of simplification procedures. Note that the name of the file containing the simplification procedure must always be the name of the procedure with the extension .C. Hence

CatSimp("WholeSimp","Simp1","Simp2")
will produce the file WholeSimp.C defining the procedure WholeSimp which in turn calls the procedures Simp1,Simp2 defined in the file Simp1.C, Simp2.C. Hence the arguments of the CatSimp procedure are usually strings.

This procedure accepts a numerical value as optional last argument: in that case the whole chain of simplification procedures will be repeated if the width of at least one range has decreased by more than the specified numerical value during the previous run of the simplification procedures.

Some of the simplification procedures may be computer intensive and therefore their use in the 3B method (see section 4.5) may not be recommended. For that purpose it is possible to specify within the CatSimp procedure that a given simplification procedure shall not be used within the 3B method: for that purpose just add the string NO_3B right after the procedure name. Hence:

 
CatSimp("Simp","Simp1","Simp2","NO_3B"):
will create the simplification procedure Simp that will usually calls Simp1 and Simp2 except for the 3B method where only Simp1 will be used.


next up previous contents
Next: Using the 3B method Up: Simplification procedures Previous: Rouche   Contents
Jean-Pierre Merlet 2012-12-20