Creating the Problem Behaviour
Learn how to create a behaviour and integrate it into the genetic algorithm.
We'll cover the following
Behaviour creation
To start writing your behaviour, we will first create a new file within the lib
directory named problem.ex
.
Then, we will open this problem.ex
file and add a new module named Problem
, like this:
Get hands-on with 1400+ tech skills courses.