Class IMoveConstraintChecker

Inheritance Relationships

Derived Type

Class Documentation

class IMoveConstraintChecker

节点移动合法性检查接口。

Subclassed by CompositeConstraintChecker

Public Functions

virtual ~IMoveConstraintChecker() = default
virtual bool canMove(const graph &finest, vector<VectorXi> &occupied_resources, vector<int> &parts, int node_id, int to_part, const fpga &fpgas, const std::function<bool(const vector<VectorXi>&, const node&, int)> &check_balance) const = 0

判断节点移动到目标分区后是否违反资源容量等约束。