Affinity and anti-affinity translate to heat resource type