diff --git a/subjects/stock-exchange-sim/README.md b/subjects/stock-exchange-sim/README.md index cf184d5e..2d1e5578 100644 --- a/subjects/stock-exchange-sim/README.md +++ b/subjects/stock-exchange-sim/README.md @@ -28,7 +28,7 @@ Imagine a project with different tasks in witch we have to achieve a final goal. | do_shelf | board: 1 | shelf: 1 | 10 | | do_cabinet | doorknobs: 2; background: 1; shelf: 3 | cabinet: 1 | 30 | -The purpose of this example is to optimise time and cabinet, basically the cabinet is the last product to achieve in the project and time is to be prioritized so that the building of your cabinet is done the fastest way possible. +The purpose of this example is to optimize time and cabinet, basically the cabinet is the last product to achieve in the project and time is to be prioritized so that the building of your cabinet is done the fastest way possible. The tasks should be done in this order to achieve a maximum optimization regarding time and cabinet: @@ -68,7 +68,7 @@ First we need a configuration file that contains the processes and must obey the - A description of the processes: - `:(:;:[...]]):(:[:[...]]):` + `:(:;:;...):(:;:;...):` - A single line to indicate the elements to optimize, possibly containing the `time` keyword : @@ -161,7 +161,7 @@ We can then verify if the schedule is doable with the **checker** program: name:quantity euro:10 # -# process name:(need1:quantity1;need2:quantity2;[...]):(result1:quantity1;result2:quantity2;[...]):delay +# process name:(need1:quantity1;need2:quantity2;...):(result1:quantity1;result2:quantity2;...):delay # buy_materiel:(euro:8):(material:1):10 build_product:(material:1):(product:1):30 diff --git a/subjects/stock-exchange-sim/examples/build/build b/subjects/stock-exchange-sim/examples/build/build index b948b7e5..ecd4e21b 100644 --- a/subjects/stock-exchange-sim/examples/build/build +++ b/subjects/stock-exchange-sim/examples/build/build @@ -4,7 +4,7 @@ # stock name:quantity board:7 # -# process name:(need1:qty1;need2:qty2;[...]):(result1:qty1;result2:qty2;[...]):delay +# process name:(need1:qty1;need2:qty2;...):(result1:qty1;result2:qty2;...):delay # do_doorknobs:(board:1):(doorknobs:1):15 do_background:(board:2):(background:1):20 diff --git a/subjects/stock-exchange-sim/examples/checkererror/testchecker b/subjects/stock-exchange-sim/examples/checkererror/testchecker index b948b7e5..ecd4e21b 100644 --- a/subjects/stock-exchange-sim/examples/checkererror/testchecker +++ b/subjects/stock-exchange-sim/examples/checkererror/testchecker @@ -4,7 +4,7 @@ # stock name:quantity board:7 # -# process name:(need1:qty1;need2:qty2;[...]):(result1:qty1;result2:qty2;[...]):delay +# process name:(need1:qty1;need2:qty2;...):(result1:qty1;result2:qty2;...):delay # do_doorknobs:(board:1):(doorknobs:1):15 do_background:(board:2):(background:1):20 diff --git a/subjects/stock-exchange-sim/examples/simple/simple b/subjects/stock-exchange-sim/examples/simple/simple index 135164be..cbf68a8f 100644 --- a/subjects/stock-exchange-sim/examples/simple/simple +++ b/subjects/stock-exchange-sim/examples/simple/simple @@ -4,7 +4,7 @@ # stock name:quantity euro:10 # -# process name:(need1:quantity1;need2:quantity2;[...]):(result1:quantity1;result2:quantity2;[...]):delay +# process name:(need1:quantity1;need2:quantity2;...):(result1:quantity1;result2:quantity2;...):delay # buy_materiel:(euro:8):(materiel:1):10 build_product:(materiel:1):(product:1):30