Toward Self-Reconfigurable Parametric Systems: Reinforcement Learning Approach