Research Article
Secure Access Control and Large Scale Robust Representation for Online Multimedia Event Detection
Algorithm 2
Basic classes for the TPSAC model.
class TAccessBTree { | private: static TAccessBTree *m_pBTree; | int m_rID; TNode *m_pRoot; | bool CreateTree(TNode *root); | bool SetState(int state_id); … | public: static TAccessBTree* | getInstance(int, char*); | bool LocateRes(int, PPS&*); … | }; | class TNode {public: int id; PPS* pps; TNode | *firstchild; TNode *nextsibling; …}; |
|