Пример #1
0
    def __init__(self, Lower=0.0, Upper=pi):
        r"""Initialize of Levy benchmark.

		Args:
			Lower (Optional[float]): Lower bound of problem.
			Upper (Optional[float]): Upper bound of problem.

		See Also:
			:func:`NiaPy.benchmarks.Benchmark.__init__`
		"""
        Benchmark.__init__(self, Lower, Upper)
Пример #2
0
    def __init__(self, Lower=-100.0, Upper=100.0, **kwargs):
        r"""Initialize of Katsuura benchmark.

		Args:
			Lower (Optional[float]): Lower bound of problem.
			Upper (Optional[float]): Upper bound of problem.

		See Also:
			:func:`NiaPy.benchmarks.Benchmark.__init__`
		"""
        Benchmark.__init__(self, Lower, Upper, **kwargs)
Пример #3
0
    def __init__(self, Lower=-100.0, Upper=100.0):
        r"""Initialize of Expanded Griewank's plus Rosenbrock benchmark.

		Args:
			Lower (Optional[float]): Lower bound of problem.
			Upper (Optional[float]): Upper bound of problem.

		See Also:
			:func:`NiaPy.benchmarks.Benchmark.__init__`
		"""
        Benchmark.__init__(self, Lower, Upper)
Пример #4
0
    def __init__(self, Lower=-5.12, Upper=5.12):
        r"""Initialize of Sphere benchmark.

		Args:
			Lower (Optional[float]): Lower bound of problem.
			Upper (Optional[float]): Upper bound of problem.

		See Also:
			:func:`NiaPy.benchmarks.Benchmark.__init__`
		"""
        Benchmark.__init__(self, Lower, Upper)
Пример #5
0
    def __init__(self, D=2):
        r"""Initialize of Trid benchmark.

		Args:
			Lower (Optional[float]): Lower bound of problem.
			Upper (Optional[float]): Upper bound of problem.

		See Also:
			:func:`NiaPy.benchmarks.Benchmark.__init__`
		"""
        Benchmark.__init__(self, -(D**2), D**2)
Пример #6
0
    def __init__(self, Lower=-32.768, Upper=32.768):
        r"""Initialize of Ackley benchmark.

        Args:
            Lower (Optional[float]): Lower bound of problem.
            Upper (Optional[float]): Upper bound of problem.

        See Also:
            :func:`NiaPy.benchmarks.Benchmark.__init__`
        """
        Benchmark.__init__(self, Lower, Upper)
Пример #7
0
    def __init__(self, Lower=-1.0, Upper=1.0):
        r"""Initialize of Cosine mixture benchmark.

		Args:
			Lower (Optional[float]): Lower bound of problem.
			Upper (Optional[float]): Upper bound of problem.

		See Also:
			:func:`NiaPy.benchmarks.Benchmark.__init__`
		"""
        Benchmark.__init__(self, Lower, Upper)
Пример #8
0
	def __init__(self, Lower=0.0, Upper=np.pi, m=10):
		r"""Initialize of Michalewichz benchmark.

		Args:
			Lower (Optional[float]): Lower bound of problem.
			Upper (Optional[float]): Upper bound of problem.

		See Also:
			:func:`NiaPy.benchmarks.Benchmark.__init__`
		"""
		Benchmark.__init__(self, Lower, Upper)
		Michalewichz.m = m
Пример #9
0
    def __init__(self, D=10.0, beta=.5):
        r"""Initialize of Bent Cigar benchmark.

		Args:
			Lower (Optional[float]): Lower bound of problem.
			Upper (Optional[float]): Upper bound of problem.

		See Also:
			:func:`NiaPy.benchmarks.Benchmark.__init__`
		"""
        Benchmark.__init__(self, -D, D)
        Perm.beta = beta
Пример #10
0
    def __init__(self, D=2):
        r"""Initialize Trid benchmark.

        Args:
            D (Optional[int]): Dimension of problem.

        See Also:
            :func:`NiaPy.benchmarks.Benchmark.__init__`

        """

        Benchmark.__init__(self, -(D**2), D**2)
Пример #11
0
    def __init__(self, Lower=-5.0, Upper=5.0):
        r"""Initialize Styblinski Tang benchmark.

        Args:
            Lower (Optional[float]): Lower bound of problem.
            Upper (Optional[float]): Upper bound of problem.

        See Also:
            :func:`NiaPy.benchmarks.Benchmark.__init__`

        """

        Benchmark.__init__(self, Lower, Upper)
Пример #12
0
    def __init__(self, Lower=-100.0, Upper=100.0):
        """Initialize Salomon benchmark.

        Args:
            Lower (Optional[float]): Lower bound of problem.
            Upper (Optional[float]): Upper bound of problem.

        See Also:
            :func:`NiaPy.benchmarks.Benchmark.__init__`

        """

        Benchmark.__init__(self, Lower, Upper)
Пример #13
0
    def __init__(self, D=10.0, beta=0.5):
        """Initialize Perm benchmark.

        Args:
            D [float] -- Dimension on problem. (default: {10.0})
            beta [float] -- beta parameter. (default: {0.5})

        See Also:
            :func:`NiaPy.benchmarks.Benchmark.__init__`

        """

        Benchmark.__init__(self, -D, D)
        Perm.beta = beta
Пример #14
0
    def __init__(self, Lower=-100.0, Upper=100.0, a=0.5, b=3, k_max=20):
        r"""Initialize of Bent Cigar benchmark.

		Args:
			Lower (Optional[float]): Lower bound of problem.
			Upper (Optional[float]): Upper bound of problem.
			a (Optional[float]): TODO
			b (Optional[float]): TODO
			k (Optional[float]): TODO

		See Also:
			:func:`NiaPy.benchmarks.Benchmark.__init__`
		"""
        Benchmark.__init__(self, Lower, Upper)
        Weierstrass.a, Weierstrass.b, Weierstrass.k_max = a, b, k_max
Пример #15
0
    def __init__(self, Lower=-100.0, Upper=100.0, a=0.5, b=3, k_max=20):
        """Initialize Weierstrass benchmark.

        Args:
            Lower (Optional[float]): Lower bound of problem.
            Upper (Optional[float]): Upper bound of problem.
            a (Optional[float]) -- a value. (default: {0.5})
            b (Optional[int]) -- b value. (default: {3})
            k_max (Optional[int]) -- k_max value. (default: {20})
        """

        Benchmark.__init__(self, Lower, Upper)
        Weierstrass.a = a
        Weierstrass.b = b
        Weierstrass.k_max = k_max
Пример #16
0
 def __init__(self, Lower=-100.0, Upper=100.0):
     Benchmark.__init__(self, Lower, Upper)
Пример #17
0
	def __init__(self, D=2): Benchmark.__init__(self, -(D ** 2), D ** 2)

	@classmethod
Пример #18
0
 def __init__(self, Lower=-64.0, Upper=64.0):
     Benchmark.__init__(self, Lower, Upper)
Пример #19
0
	def __init__(self, D=10.0, beta=.5):
		Benchmark.__init__(self, -D, D)
		Perm.beta = beta
Пример #20
0
	def __init__(self, Lower=0.0, Upper=pi, m=10):
		Benchmark.__init__(self, Lower, Upper)
		Michalewichz.m = m
Пример #21
0
	def __init__(self, Lower=-500.0, Upper=500.0): Benchmark.__init__(self, Lower, Upper)

	@classmethod
Пример #22
0
 def __init__(self, D=2):
     Benchmark.__init__(self, -(D**2), D**2)
Пример #23
0
 def __init__(self, Lower=-5.12, Upper=5.12):
     Benchmark.__init__(self, Lower, Upper)
Пример #24
0
 def __init__(self, Lower=-100.0, Upper=100.0, **kwargs):
     Benchmark.__init__(self, Lower, Upper, **kwargs)
Пример #25
0
 def __init__(self, Lower=-10.24, Upper=10.24):
     Benchmark.__init__(self, Lower, Upper)
Пример #26
0
	def __init__(self, Lower=-500.0, Upper=500.0): Benchmark.__init__(self, Lower, Upper)

	@staticmethod
Пример #27
0
 def __init__(self, Lower=-65.536, Upper=65.536):
     Benchmark.__init__(self, Lower, Upper)
Пример #28
0
 def __init__(self, Lower=-100.0, Upper=100.0, a=0.5, b=3, k_max=20):
     Benchmark.__init__(self, Lower, Upper)
     Weierstrass.a, Weierstrass.b, Weierstrass.k_max = a, b, k_max
Пример #29
0
 def __init__(self, Lower=-1., Upper=1.):
     Benchmark.__init__(self, Lower, Upper)
Пример #30
0
 def __init__(self, Lower=-32.768, Upper=32.768):
     Benchmark.__init__(self, Lower, Upper)