added flags to hlearn-allknn