@@ -99,6 +99,7 @@ cdef class GBOFitnessFunctionDiscrete(GBOFitnessFunction):
9999 number_of_variables : int ,
100100 value_to_reach : float = 1e308 ,
101101 alphabet_size : int = 2 ,
102+ **kwargs
102103 ):
103104 self .number_of_variables = number_of_variables
104105 self .alphabet_size = alphabet_size
@@ -111,7 +112,8 @@ cdef class GBOFitnessFunctionDiscrete(GBOFitnessFunction):
111112cdef class GBOFitnessFunctionRealValued(GBOFitnessFunction):
112113 def __cinit__ (self ,
113114 number_of_variables : int ,
114- value_to_reach : float = 0.0
115+ value_to_reach : float = 0.0 ,
116+ **kwargs
115117 ):
116118 self .number_of_variables = number_of_variables
117119 self .value_to_reach = value_to_reach
@@ -132,6 +134,7 @@ cdef class BBOFitnessFunctionDiscrete(BBOFitnessFunction):
132134 number_of_variables : int ,
133135 value_to_reach : float = 1e308 ,
134136 alphabet_size : int = 2 ,
137+ **kwargs
135138 ):
136139 self .number_of_variables = number_of_variables
137140 self .alphabet_size = alphabet_size
@@ -144,7 +147,8 @@ cdef class BBOFitnessFunctionDiscrete(BBOFitnessFunction):
144147cdef class BBOFitnessFunctionRealValued(BBOFitnessFunction):
145148 def __cinit__ (self ,
146149 number_of_variables : int ,
147- value_to_reach : float = 0.0
150+ value_to_reach : float = 0.0 ,
151+ **kwargs
148152 ):
149153 self .number_of_variables = number_of_variables
150154 self .value_to_reach = value_to_reach
0 commit comments