Dynamic Controllability and (J,K)-Resiliency in Generalized Constraint Networks with Uncertainty