Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 16
0
 def __init__(self, Lower=-100.0, Upper=100.0):
     Benchmark.__init__(self, Lower, Upper)
Ejemplo n.º 17
0
	def __init__(self, D=2): Benchmark.__init__(self, -(D ** 2), D ** 2)

	@classmethod
Ejemplo n.º 18
0
 def __init__(self, Lower=-64.0, Upper=64.0):
     Benchmark.__init__(self, Lower, Upper)
Ejemplo n.º 19
0
	def __init__(self, D=10.0, beta=.5):
		Benchmark.__init__(self, -D, D)
		Perm.beta = beta
Ejemplo n.º 20
0
	def __init__(self, Lower=0.0, Upper=pi, m=10):
		Benchmark.__init__(self, Lower, Upper)
		Michalewichz.m = m
Ejemplo n.º 21
0
	def __init__(self, Lower=-500.0, Upper=500.0): Benchmark.__init__(self, Lower, Upper)

	@classmethod
Ejemplo n.º 22
0
 def __init__(self, D=2):
     Benchmark.__init__(self, -(D**2), D**2)
Ejemplo n.º 23
0
 def __init__(self, Lower=-5.12, Upper=5.12):
     Benchmark.__init__(self, Lower, Upper)
Ejemplo n.º 24
0
 def __init__(self, Lower=-100.0, Upper=100.0, **kwargs):
     Benchmark.__init__(self, Lower, Upper, **kwargs)
Ejemplo n.º 25
0
 def __init__(self, Lower=-10.24, Upper=10.24):
     Benchmark.__init__(self, Lower, Upper)
Ejemplo n.º 26
0
	def __init__(self, Lower=-500.0, Upper=500.0): Benchmark.__init__(self, Lower, Upper)

	@staticmethod
Ejemplo n.º 27
0
 def __init__(self, Lower=-65.536, Upper=65.536):
     Benchmark.__init__(self, Lower, Upper)
Ejemplo n.º 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
Ejemplo n.º 29
0
 def __init__(self, Lower=-1., Upper=1.):
     Benchmark.__init__(self, Lower, Upper)
Ejemplo n.º 30
0
 def __init__(self, Lower=-32.768, Upper=32.768):
     Benchmark.__init__(self, Lower, Upper)