MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / addSubstitutionRule

Method addSubstitutionRule

src/bt_factory.cpp:515–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513}
514
515void BehaviorTreeFactory::addSubstitutionRule(StringView filter, SubstitutionRule rule)
516{
517 _p->substitution_rules[std::string(filter)] = std::move(rule);
518}
519
520void BehaviorTreeFactory::loadSubstitutionRuleFromJSON(const std::string& json_text)
521{

Callers 2

TESTFunction · 0.80
mainFunction · 0.80

Calls 2

stringFunction · 0.85
moveFunction · 0.85

Tested by 1

TESTFunction · 0.64