Class FMKWayGainMgr

Inheritance Relationships

Base Type

Class Documentation

class FMKWayGainMgr : public FMGainMgr<FMKWayGainCalc, FMKWayGainMgr>

FMKWayGainMgr.

Public Types

using Base = FMGainMgr<FMKWayGainCalc, FMKWayGainMgr>
using GainCalc_ = FMKWayGainCalc
using node_t = typename SimpleNetlist::node_t

Public Functions

inline FMKWayGainMgr(const SimpleNetlist &H, std::uint8_t K)

Construct a new FMKWayGainMgr object.

Parameters
  • H[in]

  • K[in]

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

part[in]

inline auto modify_key(const node_t &w, std::uint8_t part_w, gsl::span<const int> keys) -> void

(needed by base class)

Parameters
  • w[in]

  • part_w[in]

  • keys[in]

auto update_move_v(const MoveInfoV<node_t> &move_info_v, int gain) -> void
Parameters
  • move_info_v[in]

  • gain[in]

inline auto lock(uint8_t whichPart, const node_t &v) -> void

lock

Parameters
  • whichPart[in]

  • v[in]

inline auto lock_all(uint8_t, const node_t &v) -> void

lock_all

Parameters
  • fromPart[in]

  • v[in]