Resource Allocation Theory Applied to Farm Animal Production door