Using the New Framework in One-Max problem

Get to know how the new framework works in the One-Max problem.

To practice with the Problem behaviour we created in this chapter, start small by solving the One-Max problem. We already know what the three problem-specific parameters should look like; all we have to do is fit them into the framework you defined in this chapter.

Open the scripts/one_max.exs file and replace the contents with this:

Get hands-on with 1200+ tech skills courses.