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