def sphere
import unified-nsga-iii@0.2.2.0/problems.bend as Problemsimport Base
import unified-nsga-iii@0.2.2.0/bounds.bend as Bounds
123# Single-objective. M=1. C# defaults: Sphere n=10, Ackley n=30, Rosenbrock n=10.
124def sphere(n: Nat) -> Problem:
125 mk_prob(Sphere{}, Bounds.span_n(n, 1n, F32.neg(5.12), 5.12))
Uses (6)
Used by (0)
No other definition uses this definition.