Institut de Robòtica i Informàtica Industrial
KRD Group

The CuikSuite Project

TCuikSystem Struct Reference

A cuiksystem, i.e., a set of variables and equations defining a position analysis problem. More...

#include <cuiksystem.h>

Collaboration diagram for TCuikSystem:

Data Fields

boolean updated
boolean empty
Tstatistics st
Tmappingsimplification
unsigned int searchMode
Tequation orig_eqMin
Tequation eqMin
Tmappingorig2sd
Tequations equations
Tvariables variables
unsigned int nequations
unsigned int nvariables
booleansystemVar
booleannotDummyVar
unsigned int * varType
Tmappingorig2s
Tequations simp_equations
Tvariables simp_variables
unsigned int simp_nequations
unsigned int simp_nvariables
unsigned int simp_nee
Tequation ** J
Tequations orig_equations
Tvariables orig_variables
unsigned int orig_nequations
unsigned int orig_nvariables
booleanorig_systemVar
booleanorig_notDummyVar
char ** orig_varNames

Detailed Description

This structure includes all the information defining a position analysis problem, that is, a set of varaibles and a set of equations using these variables.
We store the variables/equations as defined by the user, a simplified version where some variables/equations are removed (because they are constant or they can be defined in function of other variables), and a simplified+dummified version where equations that can not be directly handled by linear relaxations are re-wrote into simpler equations.
Note that the two simplified cuiksystems are for internal use and its existence is transparent: all function calls refer to the original variables and equations.
Finally, this structure also includes information about variables and equations that is cached to speed up the process. Everytime there is a change in the system this information must be recomputed.

See also:
cuiksystem.h cuiksystem.c Tmapping

Definition at line 98 of file cuiksystem.h.


Field Documentation

TRUE if the system includes no equations.

Definition at line 100 of file cuiksystem.h.

Referenced by CopyCuikSystem(), CuikSystemMerge(), DeleteCuikSystem(), InitCuikSystem(), ReduceBox(), and UpdateCuikSystem().

Set of statistics including information about the last attempt to solve the problem

Definition at line 102 of file cuiksystem.h.

Referenced by CopyCuikSystem(), DeleteCuikSystem(), LoadCSState(), MPI_SolveCuikSystem(), MPI_TreatBox(), PostProcessBox(), ReduceBox(), SaveCSState(), and SolveCuikSystem().

Mappings to relate the original and the simplified variables.

Definition at line 104 of file cuiksystem.h.

Equation to be minimized when searcMode is set to MINIMIZATION_SEARCH in its simplified form.

Definition at line 110 of file cuiksystem.h.

Referenced by CopyCuikSystem(), PrintCuikSystemWithSimplification(), UnUpdateCuikSystem(), and UpdateCuikSystem().

Total number of equations in the simplified+dummified system.

Definition at line 120 of file cuiksystem.h.

Referenced by ComputeSplitDimInt(), CopyCuikSystem(), CuikSystemMerge(), InitCuikSystem(), UnUpdateCuikSystem(), and UpdateCuikSystem().

TRUE if the 'i'-th variable in the simplified+dummified system is not a dummy var.

Definition at line 123 of file cuiksystem.h.

Referenced by CopyCuikSystem(), CuikSystemMerge(), InitCuikSystem(), ReduceBox(), UnUpdateCuikSystem(), and UpdateCuikSystem().

unsigned int* TCuikSystem::varType

Type for each original variable (system, dummy, ...) in the simplified+dummified system.

Definition at line 124 of file cuiksystem.h.

Referenced by CopyCuikSystem(), CuikSystemMerge(), InitCuikSystem(), ReduceBox(), UnUpdateCuikSystem(), and UpdateCuikSystem().

Mappings to relate the original and the simplified variables.

Definition at line 128 of file cuiksystem.h.

Referenced by SimplifyCuikSystem(), and UnUpdateCuikSystem().

Simplified set of variables

Definition at line 131 of file cuiksystem.h.

Referenced by SimplifyCuikSystem(), UnUpdateCuikSystem(), and UpdateCuikSystem().

Total number of equations in the simplified system.

Definition at line 133 of file cuiksystem.h.

Referenced by UnUpdateCuikSystem(), and UpdateCuikSystem().

Total num. of variables in the simplified system.

Definition at line 134 of file cuiksystem.h.

Referenced by ComputeSimpCuikSystemJacobian(), DeleteSimpCuikSystemJacobian(), UnUpdateCuikSystem(), and UpdateCuikSystem().

unsigned int TCuikSystem::simp_nee

Number of equalities in the simplified set of equations.

Definition at line 135 of file cuiksystem.h.

Referenced by ComputeSimpCuikSystemJacobian(), DeleteSimpCuikSystemJacobian(), UnUpdateCuikSystem(), and UpdateCuikSystem().

Jacobian of the simplified set of equations (only for equalities).

Definition at line 136 of file cuiksystem.h.

Referenced by ComputeSimpCuikSystemJacobian(), and DeleteSimpCuikSystemJacobian().

Total number of equations in the original system.

Definition at line 144 of file cuiksystem.h.

Referenced by CopyCuikSystem(), CuikSystemMerge(), InitCuikSystem(), UnUpdateCuikSystem(), and UpdateCuikSystem().

Total number of variables in the original system.

Definition at line 145 of file cuiksystem.h.

Referenced by CopyCuikSystem(), CuikSystemMerge(), ErrorInInequalities(), ErrorInSolution(), InitCuikSystem(), UnUpdateCuikSystem(), and UpdateCuikSystem().

TRUE if the 'i'-th original variable is a system var.

Definition at line 146 of file cuiksystem.h.

Referenced by CopyCuikSystem(), CuikSystemMerge(), InitCuikSystem(), PostProcessBox(), UnUpdateCuikSystem(), and UpdateCuikSystem().

TRUE if the 'i'-th original variable is not a dummy var.

Definition at line 147 of file cuiksystem.h.

Referenced by CopyCuikSystem(), CuikSystemMerge(), InitCuikSystem(), UnUpdateCuikSystem(), and UpdateCuikSystem().

Pointers to the name of the variables. Used when printing boxes.

Definition at line 149 of file cuiksystem.h.

Referenced by UnUpdateCuikSystem(), and UpdateCuikSystem().


The documentation for this struct was generated from the following file: