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

Method get_hungry_check_func

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

Source from the content-addressed store, hash-verified

249}
250
251void Node::get_hungry_check_func(int input_idx,
252 std::vector<std::function<bool()>> &funcs) {
253 if (hungry_check_func_.count(input_idx)) {
254 funcs = hungry_check_func_[input_idx];
255 }
256}
257
258bool Node::is_hungry() {
259 if (hungry_check_func_.empty()) {

Callers 1

fill_task_inputMethod · 0.45

Calls 1

countMethod · 0.45

Tested by

no test coverage detected