Definitions of self-adapting program:

  • noun:   a program that can change its performance in response to its environment