More changes
This commit is contained in:
9
lib/problem.ex
Normal file
9
lib/problem.ex
Normal file
@@ -0,0 +1,9 @@
|
||||
defmodule Problem do
|
||||
alias Types.Chromosome
|
||||
|
||||
@callback genotype :: Chromosome.t
|
||||
|
||||
@callback fitness_function(Chromosome.t) :: number()
|
||||
|
||||
@callback terminate?(Enum.t, integer()) :: boolean()
|
||||
end
|
Reference in New Issue
Block a user