scse
IntroductionThe Spatial Constraint System with Extrusion class. DiscussionDerived constraint systems inherit the functionality of this class. It implements extrusion functions with property-checking on them. Member Functions
eGets the image of element protected ParametersReturn Valueeᵢ(c) Complexity Constant. e_invGets the inverse image of element protected ParametersReturn Valueeᵢ-1(c) Complexity O(n) where n is the number of elements of the SCS. e_mapeᵢ( protected ParametersDiscussionThe function will do nothing if the elements or the image are not in the elements of the SCS. Complexity O(n) where n is the number of elements to map. e_propertiesChecks whether the extrusion function protected Parameters
Return Value
Complexity O(n) if print_efuncPrints (on protected ParametersComplexity O(n) where n is the number of elements of the SCS. scse(const scs &, E_CHOICE_FUNCTION)Constructor. protected Parameters
DiscussionThis constructor will create n extrusion functions and map them according to Complexity O(n) where n is the number of elements in the SCS. scse(const scse &)Copy Constructor. ParametersComplexity Constant. ~scseDestructor. protected Complexity Constant. Typedefs
E_CHOICE_FUNCTIONEnumeration of possible canonical ways of constructing the extrusion functions. public Discussioncan be - EC_SUPREMA: eᵢ(c) = ⨆(sᵢ-1(c)) (i.e. each element is mapped to the LUB of its fiber in the corresponding space function). - EC_INFIMA: eᵢ(c) = ⨅(sᵢ-1(c)) (i.e. each element is mapped to the GLB of its fiber in the corresponding space function). - EC_MANUAL: elements are mapped manually using e_map. - EC_RANDOM: elements are mapped to a random element of their respective fibers in the corresponding space function. E_FUNCTION_PROPERTYEnumeration of possible properties of a space function. protected Discussioneach property has a one-on-one correspondance with the properties of FUNCTION_PROPERTY(specified in SCS) with one adition -EP_RIGHT_INVERSE_S: function is the right inverse of its corresponding space function (i.e. it satisfies E.1). Member Datae_funcprotected DiscussionVector containing the extrusion functions of the CS. |