Do domestic pigs prefer short-term to medium-term confinement?

Do domestic pigs prefer short-term to medium-term confinement?