Class FMConstrMgr

Inheritance Relationships

Derived Types

Class Documentation

class FMConstrMgr

FM Partition Constraint Manager.

Subclassed by FMBiConstrMgr, FMKWayConstrMgr

Public Types

using node_t = typename SimpleNetlist::node_t

Public Functions

auto init(gsl::span<const std::uint8_t> part) -> void
Parameters

part[in]

auto check_legal(const MoveInfoV<node_t> &move_info_v) -> LegalCheck
Parameters

move_info_v[in]

Returns

LegalCheck

auto check_constraints(const MoveInfoV<node_t> &move_info_v) -> bool
Parameters

move_info_v[in]

Returns

true

Returns

false

auto update_move(const MoveInfoV<node_t> &move_info_v) -> void
Parameters

move_info_v[in]

Protected Functions

inline FMConstrMgr(const SimpleNetlist &H, double BalTol)

Construct a new FMConstrMgr object.

Parameters
  • H[in]

  • BalTol[in]

FMConstrMgr(const SimpleNetlist &H, double BalTol, std::uint8_t K)

Construct a new FMConstrMgr object.

Parameters
  • H[in]

  • BalTol[in]

  • K[in]

Protected Attributes

std::vector<unsigned int> diff
unsigned int lowerbound = {}
std::uint8_t K