6. Online Reinforcement Learning for Self-Adaptive Smart IoT Systems