Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
limbo::algorithms::partition::FM< NodeType, NetWeightType >::gain_bucket_type Class Reference

gain bucket type More...

#include <FM.h>

Inheritance diagram for limbo::algorithms::partition::FM< NodeType, NetWeightType >::gain_bucket_type:

Public Types

typedef set< FM_node_type
*, compare_type2
nested_type
 
typedef map< net_weight_type,
nested_type, compare_type1
base_type
 

Public Member Functions

 gain_bucket_type ()
 constructor
 
 gain_bucket_type (gain_bucket_type const &rhs)
 
virtual void insert (FM_node_type *const &pFMNode)
 
virtual void erase (FM_node_type *const &pFMNode)
 
size_t element_size () const
 
void print () const
 print gain bucket
 

Detailed Description

template<typename NodeType, typename NetWeightType = double>
class limbo::algorithms::partition::FM< NodeType, NetWeightType >::gain_bucket_type

gain bucket type

Definition at line 243 of file FM.h.

Constructor & Destructor Documentation

template<typename NodeType, typename NetWeightType = double>
limbo::algorithms::partition::FM< NodeType, NetWeightType >::gain_bucket_type::gain_bucket_type ( gain_bucket_type const &  rhs)
inline

copy constructor

Parameters
rhsa gain_bucket_type object

Definition at line 255 of file FM.h.

Member Function Documentation

template<typename NodeType, typename NetWeightType = double>
size_t limbo::algorithms::partition::FM< NodeType, NetWeightType >::gain_bucket_type::element_size ( ) const
inline

count number of elements

Returns
number of elements

Definition at line 291 of file FM.h.

template<typename NodeType, typename NetWeightType = double>
virtual void limbo::algorithms::partition::FM< NodeType, NetWeightType >::gain_bucket_type::erase ( FM_node_type *const &  pFMNode)
inlinevirtual

erase node

Parameters
pFMNodea node

Definition at line 276 of file FM.h.

template<typename NodeType, typename NetWeightType = double>
virtual void limbo::algorithms::partition::FM< NodeType, NetWeightType >::gain_bucket_type::insert ( FM_node_type *const &  pFMNode)
inlinevirtual

insert node

Parameters
pFMNodea node

Definition at line 259 of file FM.h.


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