A test and flip net synthesis tool for maintenance and surgical process mining