#include <IbexSystemFactory.h>

Public Member Functions | |
| SystemSpaceFactory (const Space &space, const vector< const Constraint * > &ctrs, bool syb_by_default=false) | |
| void | set_entity (EntityType basetype, int num, EntityType newtype) |
| void | set_entity (const char *symbol_name, EntityType newtype) |
This class allows to build the space of a system from a "global" space. All the entities involved in the set of equations are added into the system space. Depending on the parameters of the constructor, the type of an entity either matches its type in the original space or is symbolic constant (see comments of the constructor ).
| ibex::SystemSpaceFactory::SystemSpaceFactory | ( | const Space & | space, | |
| const vector< const Constraint * > & | ctrs, | |||
| bool | syb_by_default = false | |||
| ) |
Create a system space factory.
| space | - the base space | |
| ctrs | - the list of constraints | |
| syb_by_default | - must be true if all entities are symbolic constants by default (including parameters). The default value of this parameter is false, which means that all entities of the system have the same type than their corresponding entity in the base space unless the type has been changed via set_entity. |
| void ibex::SystemSpaceFactory::set_entity | ( | EntityType | basetype, | |
| int | num, | |||
| EntityType | newtype | |||
| ) |
Sets the type of an entity in the system.
| basetype | - the type of the entity to change (in the base space). | |
| num | - the index associated to this entity in the base space (e.g., 0 for the first variable or the first symbolic constant). | |
| newtype | - the new type. |
| void ibex::SystemSpaceFactory::set_entity | ( | const char * | symbol_name, | |
| EntityType | newtype | |||
| ) |
Sets the type of an entity in the system space, from its symbol. Contrary to the set_entity method, you do not need to provide the type/number of the entity, it is automaticaly retreived from its symbol.
| symbol_name | - the symbol of the entity in the environment. | |
| newtype | - the type of the entity in the system. |
Reimplemented from ibex::SpaceFactory.
1.5.5