An integrated learning and qualitative reasoning environment for manufactoring process control