1 #ifndef SAKI_APP_SERVER_AI3_H 2 #define SAKI_APP_SERVER_AI3_H 4 #include "table_server.h" 5 #include "../table/table_tester.h" 19 using Ai3 = std::array<std::unique_ptr<TableDecider>, 3>;
20 TableServerAi3(Table::InitConfig config, std::vector<TableObserver *> obs,
23 using Msgs = std::vector<TableMsgContent>;
24 using MsgBackInserter = std::back_insert_iterator<Msgs>;
27 Msgs action(
const Action &action);
32 Msgs filterMsgs(
const TableServer::Msgs &srcs);
33 void filterSystemMsg(
const TableMsgContent &content, MsgBackInserter it);
34 void filterUserMsg(
const TableMsg &msg, MsgBackInserter it);
35 void addBotAction(
Who who,
const Action &action,
int nonce, MsgBackInserter it);
36 void addFakeBotDelay(
const TableMsgContent &content, MsgBackInserter it);
40 std::array<std::unique_ptr<TableDecider>, 3> mAis;
49 #endif // SAKI_APP_SERVER_AI3_H Definition: table_server_ai3.h:16
Definition: table_env.h:11
Definition: table_msg.h:35
Definition: table_msg.h:63
Definition: table_server.h:14