Anticipation-driven Adaptive Architecture for Assisted Living