bp_algorithm.zip (36.15 kB)
Download fileMalicious User Attacks In Decentralised Cognitive Radio Networks
Python code used for the belief propagation algorithm and simulation in a CRN environment. Contains the core code used to generate the results used in the master's dissertation. The file "mc_results_learned.py" contains all the high-level testing code. The folder "decentralised_crn" contains the utilities for simulating the crn. The folder "factor_graph" contains the implementation of the belief propagation algorithm.