Limbo 3.5.4
Loading...
Searching...
No Matches
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
int exclusive_partition (FM_node_type const &fmNode) const
 partition excludes a certain node

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

◆ cutsize()

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.

◆ exclusive_partition()

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.

Member Data Documentation

◆ vNode

template<typename NodeType, typename NetWeightType = double>
vector<FM_node_type*> limbo::algorithms::partition::FM< NodeType, NetWeightType >::FM_net_type::vNode

nodes in the net

Definition at line 144 of file FM.h.

◆ weight

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

net weight

Definition at line 145 of file FM.h.


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