In Coordicide, the anti spam mechanism used will be based on Adaptive Proof of Work. More information in IOTA café https://iota.cafe/t/adaptive-proof-of-work/257.
In this repository, it is possible to find the simulator used to validate the proposed mechanism in a single node setting.
Download the file adaptive-ratecontrol.ipynb from this repository.
The file is a Python Jupyter Notebook. In order to run it, download and install Jupyter Notebook on your machine (https://jupyter.org/).