Bcp 1.4.4
Loading...
Searching...
No Matches
BCP_obj_set_change Class Reference

This class stores data about how an object set (set of vars or set of cuts) changes. More...

#include <BCP_obj_change.hpp>

+ Collaboration diagram for BCP_obj_set_change:

Public Member Functions

 BCP_obj_set_change ()
 
 ~BCP_obj_set_change ()
 
BCP_storage_t storage () const
 
int deleted_num () const
 
int changed_num () const
 
int added_num () const
 
void update (const BCP_obj_set_change &objs_change)
 
void swap (BCP_obj_set_change &x)
 
int pack_size () const
 
void pack (BCP_buffer &buf) const
 
void unpack (BCP_buffer &buf)
 
void print () const
 

Public Attributes

BCP_storage_t _storage
 
int _deleted_num
 
BCP_vec< int > _del_change_pos
 
BCP_vec< BCP_obj_change_change
 
BCP_vec< int > _new_objs
 

Detailed Description

This class stores data about how an object set (set of vars or set of cuts) changes.

Definition at line 57 of file BCP_obj_change.hpp.

Constructor & Destructor Documentation

◆ BCP_obj_set_change()

BCP_obj_set_change::BCP_obj_set_change ( )
inline

Definition at line 78 of file BCP_obj_change.hpp.

◆ ~BCP_obj_set_change()

BCP_obj_set_change::~BCP_obj_set_change ( )
inline

Definition at line 82 of file BCP_obj_change.hpp.

Member Function Documentation

◆ storage()

BCP_storage_t BCP_obj_set_change::storage ( ) const
inline

Definition at line 84 of file BCP_obj_change.hpp.

◆ deleted_num()

int BCP_obj_set_change::deleted_num ( ) const
inline

Definition at line 86 of file BCP_obj_change.hpp.

◆ changed_num()

int BCP_obj_set_change::changed_num ( ) const
inline

Definition at line 87 of file BCP_obj_change.hpp.

◆ added_num()

int BCP_obj_set_change::added_num ( ) const
inline

Definition at line 88 of file BCP_obj_change.hpp.

◆ update()

void BCP_obj_set_change::update ( const BCP_obj_set_change & objs_change)

◆ swap()

void BCP_obj_set_change::swap ( BCP_obj_set_change & x)

◆ pack_size()

int BCP_obj_set_change::pack_size ( ) const

◆ pack()

void BCP_obj_set_change::pack ( BCP_buffer & buf) const

◆ unpack()

void BCP_obj_set_change::unpack ( BCP_buffer & buf)

◆ print()

void BCP_obj_set_change::print ( ) const

Member Data Documentation

◆ _storage

BCP_storage_t BCP_obj_set_change::_storage

Definition at line 72 of file BCP_obj_change.hpp.

◆ _deleted_num

int BCP_obj_set_change::_deleted_num

Definition at line 73 of file BCP_obj_change.hpp.

◆ _del_change_pos

BCP_vec<int> BCP_obj_set_change::_del_change_pos

Definition at line 74 of file BCP_obj_change.hpp.

◆ _change

BCP_vec<BCP_obj_change> BCP_obj_set_change::_change

Definition at line 75 of file BCP_obj_change.hpp.

◆ _new_objs

BCP_vec<int> BCP_obj_set_change::_new_objs

Definition at line 76 of file BCP_obj_change.hpp.


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