Resident and non-resident populations: Types of conflicts