Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
openmole
market
Commits
2bdc793e
Commit
2bdc793e
authored
Aug 26, 2020
by
Sam Thiriot
Browse files
more clean hook syntax
parent
6a970422
Changes
4
Hide whitespace changes
Inline
Side-by-side
nsga2-test-functions/test function Binh Korn.oms
View file @
2bdc793e
...
...
@@ -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" ) )
nsga2-test-functions/test function ConstrEx.oms
View file @
2bdc793e
...
...
@@ -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" ) )
nsga2-test-functions/test function SchafferN1.oms
View file @
2bdc793e
...
...
@@ -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" ) )
nsga2-test-functions/test function SchafferN2.oms
View file @
2bdc793e
...
...
@@ -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" ) )
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment