Your purpose in 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 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 tasks should be done in this order to achieve a maximum optimization regarding time and cabinet:
@ -38,7 +38,7 @@ The tasks should be done in this order to achieve a maximum optimization regardi
0:do_doorknobs
0:do_background
20:do_cabinet
# No more process doable at cycle 51
No more process doable at cycle 51
```
So the number before the task represents the cycle when the task starts. The tasks can run separately or at the same time depending on the stocks that are used.
@ -66,13 +66,13 @@ First we need a configuration file that contains the processes and must obey the
- A single line to indicate the elements to optimize, possibly containing the `time` keyword :
`optimize:(<stock_name>|time)`
So, as we said above, you must create at least two configuration file of your own. One file that ends when the resources are consumed, and the other which can rotate indefinitely.
So, as we said above, you must create at least two configuration file of your own. One file that ends when the resources are consumed, and the other which can rotate indefinitely.(will be explained in the next topic)
###### Can you confirm that the program reads a file that describes the processes, analyze the entire file and propose a valid solution?
@ -12,7 +12,7 @@
###### Can you confirm that those files obey the given file format?
### Functional
#### Functional
##### Try to run the stock exchange program with the files created by the owner of the project.
@ -163,7 +163,7 @@ student$
###### Does the display presents a result similar to the one above, were it shows the error?
##### Try to run the checker program with the [build](https://public.01-edu.org/subjects/stock-exchange-sim/examples/build/build) example, `"./checker examples/build/build examples/build/build.log"`.
##### Try to run the checker program with the [build](https://public.01-edu.org/subjects/stock-exchange-sim/examples/build/build) and the [build.log](https://public.01-edu.org/subjects/stock-exchange-sim/examples/build/build.log) example, `"./checker examples/build/build examples/build/build.log"`.
###### Does the display presents a result similar to the one above, were it shows the last cycle and the proof that the sequence is correct?
##### Try to run the checker program with the [seller](https://public.01-edu.org/subjects/stock-exchange-sim/examples/seller/seller) example, `"./checker examples/seller/seller examples/seller/seller.log"`.
##### Try to run the checker program with the [seller](https://public.01-edu.org/subjects/stock-exchange-sim/examples/seller/seller) and the [seller.log](https://public.01-edu.org/subjects/stock-exchange-sim/examples/seller/seller.log)example, `"./checker examples/seller/seller examples/seller/seller.log"`.