Movement rules of evacuees in the model, where M represents the memory, and ND represents the neighbors’ direction.