Hi @BoyuanJackchen
Chck this answer: Implimentation of Stopping Criteria List - #9 by berkecr
It might help you
Regards
Nuno