예제 #1
0
    def __init__(self, parameter_type, domain_set, storage=None, **kwargs):
        """

        @param **kwargs Additional keyword arguments are copied and the copy is passed up to AbstractBase; see documentation for that class for details
        """
        kwc=kwargs.copy()
        AbstractBase.__init__(self, **kwc)
        self.parameter_type = parameter_type
        self.domain_set = domain_set
        self._storage = storage or InMemoryStorage(dtype=self.parameter_type.storage_encoding, fill_value=self.parameter_type.fill_value)
    def __init__(self, parameter_type, domain_set, storage=None, **kwargs):
        """

        @param **kwargs Additional keyword arguments are copied and the copy is passed up to AbstractBase; see documentation for that class for details
        """
        kwc = kwargs.copy()
        AbstractBase.__init__(self, **kwc)
        self.parameter_type = parameter_type
        self.domain_set = domain_set
        self._storage = storage if storage is not None else InMemoryStorage(
            dtype=self.parameter_type.storage_encoding,
            fill_value=self.parameter_type.fill_value)
        self._min = self._max = self.fill_value
예제 #3
0
 def __init__(self, name, arg_list, param_map):
     AbstractBase.__init__(self)
     self.name = name
     self.arg_list = arg_list
     self.param_map = param_map
 def __init__(self, name, arg_list, param_map):
     AbstractBase.__init__(self)
     self.name = name
     self.arg_list = arg_list
     self.param_map = param_map
예제 #5
0
 def __init__(self):
     AbstractBase.__init__(self)