GRATgen
Public Member Functions | Related Functions | List of all members
Global_Data Class Reference

Global data, which is constant after forward pass. More...

Collaboration diagram for Global_Data:
Collaboration graph
[legend]

Public Member Functions

 Global_Data ()
 Standard constructor.
 
ClauseDBget_db ()
 Get associated clause database.
 
size_t get_max_var () const
 Get maximum number of variables.
 
size_t get_num_clauses () const
 Get number of clauses.
 
bool is_after_parsing () const
 Check whether we are in after-parsing phase.
 
lit_t get_pivot (lit_t *cl) const
 Get the pivot element associated to a clause.
 
size_t get_fst_prf_item () const
 Get the first item of the DRAT certificate.
 
size_t get_num_items () const
 Get the total number of items.
 
item_tget_item (size_t i)
 Get item by index.
 
size_t get_fst_lemma_id () const
 Get the id for the first lemma, i.e., the id of the last clause + 1.
 
void init_after_fwd (pos_t cn_pos, vector< trail_item_t > const &tr)
 Initialization after forward pass: More...
 
void join_vmarked (vector< bool > const &marked)
 Join marking information for forward trail with provided information. More...
 
const vector< pair< size_t, bool > > & get_fwd_trail () const
 Return the forward trail, with marking information joined in.
 
lit_tget_conflict ()
 Return the conflict clause.
 

Related Functions

(Note that these are not member functions.)

Global_Data glb
 Only instance of Global_Data. More...
 

Detailed Description

Global data, which is constant after forward pass.

Member Function Documentation

void Global_Data::init_after_fwd ( pos_t  cn_pos,
vector< trail_item_t > const &  tr 
)

Initialization after forward pass:

Parameters
cn_posPosition of conflict clause
trTrail after forward pass
See also
Object_Lifetimes
void Global_Data::join_vmarked ( vector< bool > const &  marked)

Join marking information for forward trail with provided information.

This is used after the concurrent backwards phase to join the information computed by the different threads.

Friends And Related Function Documentation

Global_Data glb
related

Only instance of Global_Data.


The documentation for this class was generated from the following file: