A cognitive internet of things resource allocation method based on multi-agent reinforcement learning algorithm | Synapse