def __init__(self, name, choices):
        """Initialize DiscreteSpace.

        Arguments:
            name (str): Name of the parameter.
            choices (list): List of all possible choices.
        """
        super(DiscreteSpace, self).__init__(name)
        self.choices = choices
def __init__ ( self , name , choices ) : super ( DiscreteSpace , self ) . __init__ ( name ) self . choices = choices
Initialize DiscreteSpace.

        Arguments:
            name (str): Name of the parameter.
            choices (list): List of all possible choices.