parameters.c File Reference Detailed DescriptionImplementation of functions to deal with Tparameters.
Definition in file parameters.c.
Function Documentation◆ ReadParameters()
Reads a parameter set from a file.
Referenced by InitParametersFromFile(). ◆ InitParameters()
Defines an empty set of parameters.
Definition at line 37 of file parameters.c. References NPARAMETERS. Referenced by InitParametersFromFile(). ◆ InitParametersFromFile()
Defines an set of parameters from a file. It first read the default set of parameters and then the given set of parameters.
Definition at line 52 of file parameters.c. References CreateFileName(), DEFAULT_PARAMS, DeleteFileName(), Error(), GetFileFullName(), InitParameters(), NPARAMETERS, PARAM_EXT, ReadParameters(), and Warning(). Referenced by main(). ◆ GetParameter()
Gets the value for a particular parameter.
Definition at line 102 of file parameters.c. References Error(), and NPARAMETERS. Referenced by CheckSolution(), CleanCuikBoxes(), Define6RProblem(), IntersectWithCuikSystem(), main(), Newton(), ReduceBox(), SolveCuikSystem(), VerifyBox(), and VerifyCuikBoxes(). ◆ GetParameterID()
Determines the parameter identifier for a given parameter name.
Definition at line 123 of file parameters.c. References FALSE, NO_UINT, and NPARAMETERS. ◆ ParameterSet()
Determines is a parameter is already defined. The default initialization (the one from the default set of parameters) is not taken into account. Only explicit initializations from the users are considered. Only parameters alrady defined can be used in the definition of other parameters.
Definition at line 144 of file parameters.c. ◆ SetParameter()
Sets the name and value for a particular parameter.
Definition at line 152 of file parameters.c. References ChangeParameter(), Error(), NPARAMETERS, and Warning(). ◆ ChangeParameter()
Sets the value for a particular parameter.
Definition at line 177 of file parameters.c. References Error(), and NPARAMETERS. Referenced by SetParameter(). ◆ PrintParameters()
Writes a parameter set to a stream, that can be stdout. In principle the output of this function can be used as a parameter file (i.e., it can be parsed correctly with InitParametersFromFile).
Definition at line 194 of file parameters.c. References CLEAN_SIMPLEX, CT_CLEAN, CT_REDUCTION, CT_SAVE_ANGLES, CT_SIMPLIFY, CT_VERIFY, Error(), NO_CLEAN, NPARAMETERS, RED_SIMPLEX, VERIFY_MIRANDA, VERIFY_NEWTON, and VERIFY_NEWTON_REPLACE. Referenced by main(). ◆ DeleteParameters()
Deletes a set of parameters and frees the allocated memory.
Definition at line 282 of file parameters.c. Referenced by main(). |
Follow us!