| 7 | typedef double Real; |
| 8 | |
| 9 | class FactorizationMachine { |
| 10 | public: |
| 11 | static AppPtr create(const Config& conf); |
| 12 | |
| 13 | // static Call get(const MessageCPtr& msg) { |
| 14 | // CHECK_EQ(msg->task.type(), Task::CALL_CUSTOMER); |
| 15 | // CHECK(msg->task.has_factorization_machine()); |
| 16 | // return msg->task.factorization_machine(); |
| 17 | // } |
| 18 | // static Call* set(Task *task) { |
| 19 | // task->set_type(Task::CALL_CUSTOMER); |
| 20 | // return task->mutable_factorization_machine(); |
| 21 | // } |
| 22 | // static Task newTask(Call::Command cmd) { |
| 23 | // Task task; set(&task)->set_cmd(cmd); |
| 24 | // return task; |
| 25 | // } |
| 26 | |
| 27 | }; |
| 28 | } // namespace FM |
| 29 | } // namespace PS |
nothing calls this directly
no outgoing calls
no test coverage detected