MCPcopy Create free account
hub / github.com/BabitMF/bmf / register_hungry_check_func

Method register_hungry_check_func

bmf/engine/c_engine/src/node.cpp:246–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244bool Node::is_closed() { return state_ == NodeState::CLOSED; }
245
246void Node::register_hungry_check_func(int input_idx,
247 std::function<bool()> &func) {
248 hungry_check_func_[input_idx].push_back(func);
249}
250
251void Node::get_hungry_check_func(int input_idx,
252 std::vector<std::function<bool()>> &funcs) {

Callers 1

get_hungry_check_funcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected