Expr.c
Abstraction for expression type impemented as node_ptr
SexpFsm.c
The SexpFsm implementation

Expr.c

Abstraction for expression type impemented as node_ptr

By: Roberto Cavada


SexpFsm.c

The SexpFsm implementation

By: Roberto Cavada

This file contains the implementation of a wrapper of (a part of) the SexpFsm API onto the NuSMV code structure. Only functions needed by the BddFsm are provided.

See AlsoSexpFsm.h

SexpFsm_create()
Costructor for a scalar and boolean sexp fsm
SexpFsm_create_from_members()
Costructor for a scalar and boolean sexp fsm
SexpFsm_copy()
Copy costructor
SexpFsm_destroy()
Destructor
SexpFsm_scalar_to_boolean()
Construct a boolean fsm from a scalar one
SexpFsm_is_boolean()
Returns true if self if a booleanized fsm, false if it is scalar
SexpFsm_get_init()
Returns an Expr that collects init states for all variables handled by self
SexpFsm_get_invar()
Returns an Expr that collects invar states for all variables handled by self
SexpFsm_get_trans()
Returns an Expr that collects all next states for all variables handled by self
SexpFsm_get_input()
Returns an Expr that collects all input states for all variables handled by self
SexpFsm_get_var_init()
Gets the sexp expression defining the initial state for the variable "v".
SexpFsm_get_var_invar()
Gets the sexp expression defining the state constraints for the variable "v".
SexpFsm_get_var_trans()
Gets the sexp expression defining the transition relation for the variable "v".
SexpFsm_get_var_input()
Gets the sexp expression defining the input relation for the variable "v".
SexpFsm_get_justice()
Gets the list of sexp expressions defining the set of justice constraints for this machine.
SexpFsm_get_compassion()
Gets the list of sexp expressions defining the set of compassion constraints for this machine.
sexp_fsm_create_shared_structures()
Call this from any constructor which creates a new family
sexp_fsm_try_to_destroy_shared_structures()
Call this from every destructor which tries to destroy a family. If the family is over, all shared structure will be destroyed
sexp_fsm_copy_shared_structures()
Call this to copy data from fsm belonging to the same family. This also increments the family counter
sexp_fsm_hash_var_fsm_init()
Initializes the vars fsm hash
sexp_fsm_init()
Initializes either the boolean or scalar sexp fsm
sexp_fsm_simplify_expr()
removes duplicates from expression containing AND nodes
simplifier_hash_create()
This is used when creating cluster list from vars list
simplifier_hash_destroy()
Call after sexp_fsm_cluster_hash_create
simplifier_hash_add_expr()
To insert a new node in the hash
simplifier_hash_query_expr()
Queries for an element in the hash, returns True if found
sexp_fsm_hash_var_fsm_create()
Call to create the hash for var fsm inside the fsm
sexp_fsm_hash_var_fsm_destroy()
Call to destroy the var fsm hash
sexp_fsm_callback_var_fsm_free()
Private callback that destroys a single variable fsm contained into the var fsm hash
sexp_fsm_hash_var_fsm_lookup_var()
Given a variable name, returns the corresponding variable fsm, or NULL if not found
sexp_fsm_hash_var_fsm_insert_var()
Adds a var fsm to the internal hash. Private.
var_fsm_create()
Creates a var fsm
var_fsm_destroy()
It does not destroy the init, trans and invar nodes. It destroys only the support nodes
var_fsm_get_init()
var_fsm_get_invar()
var_fsm_get_next()
var_fsm_get_input()

Last updated on 2004/08/06 17h:21