Combining cellular automata and genetic search in complex environmental modelling