application.ex (296B)
1 defmodule Genetic.Application do 2 use Application 3 4 def start(_type, _args) do 5 children = [ 6 {Utilities.Statistics, []}, 7 {Utilities.Genealogy, [Graph.new()]} 8 ] 9 10 opts = [strategy: :one_for_one, name: Genetic.Supervisor] 11 Supervisor.start_link(children, opts) 12 end 13 end