coin-Bcp
Public Member Functions | Public Attributes | List of all members
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:
Collaboration graph
[legend]

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 ( )
inline

Definition at line 78 of file BCP_obj_change.hpp.

BCP_obj_set_change::~BCP_obj_set_change ( )
inline

Definition at line 82 of file BCP_obj_change.hpp.

Member Function Documentation

BCP_storage_t BCP_obj_set_change::storage ( ) const
inline

Definition at line 84 of file BCP_obj_change.hpp.

References _storage.

int BCP_obj_set_change::deleted_num ( ) const
inline

Definition at line 86 of file BCP_obj_change.hpp.

References _deleted_num.

int BCP_obj_set_change::changed_num ( ) const
inline

Definition at line 87 of file BCP_obj_change.hpp.

References _change, and BCP_vec< T >::size().

int BCP_obj_set_change::added_num ( ) const
inline

Definition at line 88 of file BCP_obj_change.hpp.

References _new_objs, and BCP_vec< T >::size().

void BCP_obj_set_change::update ( const BCP_obj_set_change objs_change)
void BCP_obj_set_change::swap ( BCP_obj_set_change x)
int BCP_obj_set_change::pack_size ( ) const
void BCP_obj_set_change::pack ( BCP_buffer buf) const
void BCP_obj_set_change::unpack ( BCP_buffer buf)
void BCP_obj_set_change::print ( ) const

Member Data Documentation

BCP_storage_t BCP_obj_set_change::_storage

Definition at line 72 of file BCP_obj_change.hpp.

Referenced by storage().

int BCP_obj_set_change::_deleted_num

Definition at line 73 of file BCP_obj_change.hpp.

Referenced by deleted_num().

BCP_vec<int> BCP_obj_set_change::_del_change_pos

Definition at line 74 of file BCP_obj_change.hpp.

BCP_vec<BCP_obj_change> BCP_obj_set_change::_change

Definition at line 75 of file BCP_obj_change.hpp.

Referenced by changed_num().

BCP_vec<int> BCP_obj_set_change::_new_objs

Definition at line 76 of file BCP_obj_change.hpp.

Referenced by added_num().


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