EncCache.c
The EncCache class implementation
Encoding.c
The symbolic Encoding implementation
GroupSet.c
Represents a list of group of variables. Each group is expected to be kept grouped

EncCache.c

The EncCache class implementation

By: Roberto Cavada

See AlsoEncCache.h

EncCache_create()
Class constructor
EncCache_destroy()
Class destructor
EncCache_push_status_and_reset()
EncCache_pop_status()
EncCache_new_constant()
A new leaf (constant) is added to the constants list
EncCache_new_input_var()
The variable encoding must be associated later
EncCache_new_state_var()
The variable encoding must be associated later
EncCache_new_define()
EncCache_lookup_symbol()
Returns the definition of the given symbol
EncCache_is_symbol_state_var()
EncCache_is_symbol_input_var()
EncCache_is_symbol_var()
EncCache_is_symbol_declared()
EncCache_is_symbol_define()
EncCache_is_constant_defined()
Returns true if the given constant has already been added
enc_cache_new_symbol()
Insert a new value in the symbol hash
enc_cache_init()
Private initializer
enc_cache_deinit()
Private deinitializer

Encoding.c

The symbolic Encoding implementation

By: Roberto Cavada, Daniel Sheridan, Marco Roveri

See AlsoEncoding.h

Encoding_create()
Encoding_destroy()
Encoding_push_status_and_reset()
Encoding_pop_status()
Encoding_encode_vars()
Performs the symbolic variables encoding
Encoding_get_var_encoding()
Returns the symbolic encoding for a given variable
Encoding_get_var_encoding_bool_vars()
Returns the list of boolean vars used in the encoding of given scalar var
Encoding_get_var_range()
Returns the range of a given variable
Encoding_is_var_bit()
Returs true if the given symbol is the name of a bit variable that is part of a scalar var
Encoding_get_scalar_var_of_bit()
Returns the name of the scalar variable whose the given bit belongs
Encoding_get_define_body()
Returns the body of the given define name
Encoding_get_define_flatten_body()
Returns the flattenized body of the given define name
Encoding_get_define_context()
Returns the body of the given define name
Encoding_encode_var()
Encode a variable into BDD
Encoding_declare_constant()
Insert a new constant
Encoding_declare_determ_var()
Insert a new determinization boolean variable
Encoding_declare_input_var()
Insert a new input variable
Encoding_declare_state_var()
Insert a new state variable
Encoding_declare_define()
Insert a new define
Encoding_get_constants_num()
Encoding_get_constants_list()
Encoding_get_state_vars_num()
Encoding_get_bool_state_vars_num()
Encoding_get_input_vars_num()
Encoding_get_model_input_vars_num()
Returns the number of input vars that occurs in the model. If process_selector has a range larger than one, it will occur in the returned count as well, otherwise it won't occur.
Encoding_get_bool_input_vars_num()
Encoding_get_defines_num()
Encoding_get_all_model_vars_list()
Encoding_get_all_model_symbols_list()
Encoding_get_state_vars_list()
Encoding_get_input_vars_list()
Encoding_get_model_input_vars_list()
Returns the list of input vars that occurs in the model If process_selector has a range larger than one, it will occur in the returned list as well, otherwise it won't occur.
Encoding_get_bool_input_vars_list()
Returns the list of input boolean variables
Encoding_get_bool_state_vars_list()
Returns the list of state boolean variables
Encoding_get_bool_vars_list()
Returns the list of boolean variables
Encoding_get_bool_input_vars_groups()
Returns the groups set of input boolean variables
Encoding_get_bool_state_vars_groups()
Returns the groups set of state boolean variables
Encoding_sort_bool_vars()
Sorts the internal boolean lists to respect the ordering stated into the given ordering file
Encoding_get_defines_list()
Encoding_lookup_symbol()
Encoding_is_symbol_declared()
Encoding_is_symbol_var()
Encoding_is_symbol_constant()
Encoding_is_symbol_determ_var()
Encoding_is_symbol_state_var()
Encoding_is_symbol_boolean_var()
Encoding_is_symbol_input_var()
Encoding_is_symbol_model_input_var()
Returns true if given symbol is an input variable that belongs to the model, and it is not an internal input var, such as a determinization var
Encoding_is_symbol_define()
Encoding_is_constant_defined()
Encoding_list_contains_input_vars()
Succeeds if varlist contains input variables
Encoding_list_contains_state_vars()
Succeeds if varlist contains state variables
Encoding_get_model_state_symbols_list()
Returns the list of all symbols occurring in the model that refer directly or indirectly to state variables
Encoding_get_model_input_symbols_list()
Returns the list of all symbols occurring in the model that refer directly or indirectly to input variables
Encoding_get_model_state_input_symbols_list()
Returns the list of all symbols occurring in the model that refer directly or indirectly to combinatory state/input parts (currently, only to DEFINES whose body contains both state and input vars)
encoding_init()
encoding_deinit()
encoding_declare_input_var()
Internal version of Encoding_declare_input_var, to be called internally
encoding_encode_scalar_var()
Encodes a scalar variable, by creating all boolean vars (bits) needed to encode the var itself.
encoding_set_var_encoding()
Sets the symbolic encoding for a given variable that has already been added
encoding_traverse_encoding()
Fills the given list with the BIT vars which appears into the given var encoding
encoding_assign_define_body_to_symbols_lists()
Used to update symbols lists when a define is defined. Given define will be added to one of state, input, state-input symbols lists.
encoding_refill_symbols_lists()
Reprocesses declared DEFINES and assign them to different symbols lists, depending on the content of their bodies.

GroupSet.c

Represents a list of group of variables. Each group is expected to be kept grouped

By: Roberto Cavada

When the order of bool vars is important, a list of of group of vars is returned. All vars appearing into a group should be grouped by the specific encoding

GroupSet_create()
Constructor
GroupSet_destroy()
GroupSet_add_group()
Adds a new group to the set. Addition is performed only if the group does not belong to the set
GroupSet_get_first_iter()
To be used for iteration
GroupSet_get_group()
Return the group pointed by the iterator
group_set_init()
group_set_deinit()

Last updated on 2005/05/05 19h:30