Functional adaptive radiation therapy