Heuristically accelerated reinforcement learning for channel assignment in wireless sensor networks