Mitigation of infectious disease at school: targeted class closure vs school closure  - CX-nets