Epidemics Modeling by Spatiotemporal Constraint Data