Equilibrium in the Computing Continuum through Active Inference