Abstract—The current computer program is artificially designed to execute the process，which has the weakness of passivity，rigidity and lack of flexibility. This paper proposes a method of program design based on reinforcement learning mechanism ， and realizes the corresponding algorithm. According to the environment and requirements，the agent can choose executive process independently and arrive at the optimal result by learning，realize the layered calls. Using this method，the executing program is decision-making，has a way to realize the adaption ， and reduces the dependence on designer. The result shows that the method can achieve satisfactory execution efficiency.
Index Terms—Adaptive programming, reinforcement learning, q-learning, agent, optimization algorithm.
D. Li is with college of Computer and Information Engineering, inxiang University, inxiang, China
Cite: Dong Li, "A Kind of Adaptive Program Design Method," International Journal of Information and Education Technology vol. 2, no. 3, pp. 274-277, 2012.