Reinforcement Learning for Edge Device Selection Using Social Attribute Perception in Industry 4.0