dlvhex  2.5.0
bm::blocks_manager< Alloc >::block_opt_func Class Reference

#include <vs10/bm/bmblocks.h>

Inheritance diagram for bm::blocks_manager< Alloc >::block_opt_func:
Collaboration diagram for bm::blocks_manager< Alloc >::block_opt_func:

Public Member Functions

 block_opt_func (blocks_manager &bm, bm::word_t *temp_block, int opt_mode, bv_statistics *bv_stat=0)
void on_empty_top (unsigned i)
void on_empty_block (unsigned)
void operator() (bm::word_t *block, unsigned idx)
 block_opt_func (blocks_manager &bm, bm::word_t *temp_block, int opt_mode, bv_statistics *bv_stat=0)
void on_empty_top (unsigned i)
void on_empty_block (unsigned)
void operator() (bm::word_t *block, unsigned idx)

Private Member Functions

void free_block (gap_word_t *gap_blk, unsigned idx)
void free_block (gap_word_t *gap_blk, unsigned idx)

Private Attributes

bm::word_ttemp_block_
int opt_mode_
bv_statisticsstat_
unsigned empty_

Detailed Description

template<class Alloc>
class bm::blocks_manager< Alloc >::block_opt_func

Bitblock optimization functor

Definition at line 319 of file bmblocks.h.


Constructor & Destructor Documentation

template<class Alloc >
bm::blocks_manager< Alloc >::block_opt_func::block_opt_func ( blocks_manager bm,
bm::word_t temp_block,
int  opt_mode,
bv_statistics bv_stat = 0 
) [inline]

Definition at line 322 of file bmblocks.h.

template<class Alloc >
bm::blocks_manager< Alloc >::block_opt_func::block_opt_func ( blocks_manager bm,
bm::word_t temp_block,
int  opt_mode,
bv_statistics bv_stat = 0 
) [inline]

Definition at line 322 of file bmblocks.h.


Member Function Documentation

template<class Alloc >
void bm::blocks_manager< Alloc >::block_opt_func::on_empty_block ( unsigned  ) [inline]
template<class Alloc >
void bm::blocks_manager< Alloc >::block_opt_func::on_empty_block ( unsigned  ) [inline]

Field Documentation

template<class Alloc >
int bm::blocks_manager< Alloc >::block_opt_func::opt_mode_ [private]

Definition at line 487 of file bmblocks.h.

Referenced by bm::blocks_manager< Alloc >::block_opt_func::operator()().

template<class Alloc >
bm::word_t * bm::blocks_manager< Alloc >::block_opt_func::temp_block_ [private]

Definition at line 486 of file bmblocks.h.

Referenced by bm::blocks_manager< Alloc >::block_opt_func::operator()().


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