<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def round(self, value_array):
 """ Rounds a bandit variable by selecting the closest point in the domain Closest here is defined by euclidian distance Assumes an 1d array of the same length as the single variable value """

        distances = np.linalg.norm(np.array(self.domain) - value_array, axis=1)
        idx = np.argmin(distances)
        return [self.domain[idx]]