-
OrdGroups.c
- Represents a list of groups of variables. Each group
is expected to be kept grouped at encoder level
-
utils.c
- Utilities for encodings stuff
OrdGroups.c
Represents a list of groups of variables. Each group
is expected to be kept grouped at encoder level
By: Roberto Cavada
When the order of bool vars is important, a list of
of groups of vars is returned. All vars appearing into a group should be
grouped by the specific encoding
-
OrdGroups_create()
- Class constructor
-
OrdGroups_destroy()
- Class destructor
-
OrdGroups_create_group()
- Creates a new group, and returns the group ID for
future reference
-
OrdGroups_add_variable()
- Adds a new variable to the groups set.
-
OrdGroups_add_variables()
- Adds a list of variable to the groups set.
-
OrdGroups_get_vars_in_group()
- Returns the set of variables that belong to a given group
-
OrdGroups_get_var_group()
- Given a var name, it returns the group that variable
belongs to.
-
OrdGroups_get_size()
- Returns the number of available groups
-
ord_groups_init()
- Private class initializer
-
ord_groups_deinit()
- Private deinitializer
-
ord_groups_allocate_new_group()
- Creates a new group, and returns its ID
-
ord_groups_name_to_group()
- Given a variable name, it returns the group that variable
belongs to, or -1 if the variable has not been added.
-
ord_groups_associate_name_to_group()
- Associates a var name to an existing group, but only if
not already associated. An error occurs if the given name is already
associated to a different group
utils.c
Utilities for encodings stuff
By: Roberto Cavada
-
enc_utils_parse_ordering_file()
- Parses the given ordering file, and produces an OrdGroups
instance.
Last updated on 2009/01/30 14h:53