Commit 2bdc793e authored by Sam Thiriot's avatar Sam Thiriot
Browse files

more clean hook syntax

parent 6a970422
......@@ -42,7 +42,7 @@ val evolutionBinhKorn =
)
// compute evolution on the test Function
(evolutionBinhKorn on envMultiThread hook SavePopulationHook(evolutionBinhKorn, workDirectory/relativePath)
(evolutionBinhKorn on envMultiThread hook (workDirectory/relativePath)
// then plot the last Pareto front
) -- (taskPlotLastParetoFront set ( directoryWithResults := workDirectory/relativePath) hook CopyFileHook(last_pareto, workDirectory/"last Pareto front BinhKorn.png" ) )
......@@ -42,6 +42,6 @@ val evolutionConstrEx =
)
// compute evolution on the test Function
(evolutionConstrEx on envMultiThread hook SavePopulationHook(evolutionConstrEx, workDirectory/relativePath)
(evolutionConstrEx on envMultiThread hook (workDirectory/relativePath)
// then plot the last Pareto front
) -- (taskPlotLastParetoFront set ( directoryWithResults := workDirectory/relativePath) hook CopyFileHook(last_pareto, workDirectory/"last Pareto front ConstrEx.png" ) )
......@@ -38,6 +38,6 @@ val evolutionSchafferN1 =
)
// compute evolution on the test Function
(evolutionSchafferN1 on envMultiThread hook SavePopulationHook(evolutionSchafferN1, workDirectory/relativePath)
(evolutionSchafferN1 on envMultiThread hook (workDirectory/relativePath)
// then plot the last Pareto front
) -- (taskPlotLastParetoFront set ( directoryWithResults := workDirectory/relativePath, countInputs := 1) hook CopyFileHook(last_pareto, workDirectory/"last Pareto front SchafferN1.png" ) )
......@@ -43,6 +43,6 @@ val evolutionSchafferN2 =
)
// compute evolution on the test Function
(evolutionSchafferN2 on envMultiThread hook SavePopulationHook(evolutionSchafferN2, workDirectory/relativePath)
(evolutionSchafferN2 on envMultiThread hook (workDirectory/relativePath)
// then plot the last Pareto front
) -- (taskPlotLastParetoFront set ( directoryWithResults := workDirectory/relativePath, countInputs := 1) hook CopyFileHook(last_pareto, workDirectory/"last Pareto front SchafferN2.png" ) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment