Approaches To Abnormality Detection With Constraints