The goal of epidemics modeling in complex networks is to understand and
predict the dynamics of the epidemic while varying the different
parameters and initial conditions. This field is very closely related to
percolation theory which originally was concerned with diffusion of
liquids in porous materials  and is now widely
applied to other disciplines such as predicting phase transitions in
wireless ad-hoc networks.