-
Notifications
You must be signed in to change notification settings - Fork 7
Nerlnet Design
zivmo99 edited this page Jun 15, 2021
·
15 revisions
Add here image of nerlnet structure
The state machine of the worker. Gets train/predict/create commands from the main server and calls erlModule functions accordingly sends back the results threw client Statem.
Contains: NerlNIF.cpp - The NIF itself. Converts Erlang commands to C++. Opens new threads for train/predict functions. Creates new modules and maintains the bridgeController singleton. bridgeController.h - Singleton. Maintains all the modules and their MID in a map. nifpp.h - External library for that wraps erlang nif with C++ abilities. erlModule.erl - Erland side of the NerlNIF. Contains train/predict/create functions calls from the Erlang side.