Adjusting the number or placement of samples dynamically based on the current state to achieve a target property efficiently.