sleeping_time.tv_nsec = 50 * 1000000;
auto bt = BrainTree::Builder()
+ .composite<BrainTree::Sequence>()
+ .leaf<ShouldRunBT>()
+ .composite<BrainTree::Selector>()
+ .composite<BrainTree::Sequence>()
+ .leaf<EppFinished>()
+ .leaf<EppGF>(
+ &feasible_path
+ )
+ .leaf<UpdateFP>(
+ &final_path
+ , &final_path_cost
+ , &feasible_path
+ , &feasible_path_cost
+ )
+ .leaf<EppRestart>(
+ jvi
+ , &feasible_path
+ , &feasible_path_cost
+ , &orig_init
+ , &orig_init_cost
+ )
+ .end()
+ .composite<BrainTree::Sequence>()
+ .leaf<EppFinished>()
+ .leaf<EppRestart>(
+ jvi
+ , &feasible_path
+ , &feasible_path_cost
+ , &orig_init
+ , &orig_init_cost
+ )
+ .end()
+ .decorator<BrainTree::Succeeder>()
+ .leaf<ShouldRunBT>()
+ .end()
+ .end()
+ .end()
.build();
TSTART();