The following report describes the logic behind a distributed artificial neural network that I created for the purpose of testing the integration between Contiki OS and ns-3. The accompanying Contiki code is linked as well.
Note that the integration component is forecasted for release into the ns-3 community by the end of the year. If there is interest in the integration component, please let me know and I can make it available outside of the ns-3 channels. The ns-3 code can be found
here for anyone to use or fork.
Documentation
Contiki Code