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

net type for the algorithm More...

#include <FM.h>

Public Member Functions

net_weight_type cutsize () const
 compute cut size for the net More...
 
int exclusive_partition (FM_node_type const &fmNode) const
 partition excludes a certain node More...
 

Public Attributes

vector< FM_node_type * > vNode
 nodes in the net
 
net_weight_type weight
 net weight
 

Detailed Description

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

net type for the algorithm

Definition at line 142 of file FM.h.

Member Function Documentation

template<typename NodeType, typename NetWeightType = double>
net_weight_type limbo::algorithms::partition::FM< NodeType, NetWeightType >::FM_net_type::cutsize ( ) const
inline

compute cut size for the net

Returns
0 or weight

Definition at line 149 of file FM.h.

template<typename NodeType, typename NetWeightType = double>
int limbo::algorithms::partition::FM< NodeType, NetWeightType >::FM_net_type::exclusive_partition ( FM_node_type const &  fmNode) const
inline

partition excludes a certain node

Parameters
fmNodenode
Returns
0 indicates all nodes except pFMNode are in partition 0; 1 indicates all nodes except pFMNode are in partition 1; 2 indicates all nodes except are in both partitions

Definition at line 166 of file FM.h.


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