BcPOC
SF-HRP ASM implementation
|
#include <sf_hrp_asm.hpp>
Public Member Functions | |
CSFHRPASM (IEngineDescriptor *) | |
~CSFHRPASM () | |
void | SetCondition (int, bool) |
int | GetAction () |
void | Activate (CSFHRPPlan *) |
void | Deactivate (CSFHRPPlan *) |
void | AddPlan (CSFHRPPlan *) |
void | AddCondition (CCondition *) |
void | RegisterElement (int, CElement *) |
SF-HRP ASM
CSFHRPASM::CSFHRPASM | ( | IEngineDescriptor * | engine | ) |
State-full hierarchical planning action selection mechanism for virtual agents
Frantisek Farka 2011
CSFHRPASM::~CSFHRPASM | ( | ) |
void CSFHRPASM::Activate | ( | CSFHRPPlan * | ptrPlan | ) |
Activate single plan
void CSFHRPASM::AddCondition | ( | CCondition * | ptrCondition | ) |
Register another plan
void CSFHRPASM::AddPlan | ( | CSFHRPPlan * | ptrPlan | ) |
Register another plan
void CSFHRPASM::Deactivate | ( | CSFHRPPlan * | ptrPlan | ) |
Deactivate single plan
int CSFHRPASM::GetAction | ( | ) |
void CSFHRPASM::RegisterElement | ( | int | code, |
CElement * | ptrElement | ||
) |
Register another plan
void CSFHRPASM::SetCondition | ( | int | cond, |
bool | val | ||
) |