Commit f58d2b6b authored by EYRAUD-DUBOIS Lionel's avatar EYRAUD-DUBOIS Lionel

Cosmetics again.

parent 888427de
......@@ -15,15 +15,15 @@
A file must contain, in this order, the following arrays:
+ the number of ressource of each type. The length of this array specifies the number of resource
types, and its `j`-th coordinate indicates how many resources of type `j` are available.
types, and its $`j`$-th coordinate indicates how many resources of type $`j`$ are available.
+ one array per resource type, specifying the execution time of tasks on this resource type.
All these arrays should have the same length, equal to the number of task types. The `i`-th coordinate of the
`j`-th array specifies the execution time of task type `i` on resource type `j`.
+ one array specifies the type of each task. The length of this array is equal to the number of tasks in
the instance, and the `k`-th coordinate specifies the type of task `k`. Values in this array should be
All these arrays should have the same length, equal to the number of task types. The $`i`$-th coordinate of the
$`j`$-th array specifies the execution time of task type $`i`$ on resource type $`j`$.
+ one array specifies the type of each task. The length of this array is equal to the number $`n`$ of tasks in
the instance, and the $`k`$-th coordinate specifies the type of task $`k`$. Values in this array should be
between 0 and the length of the "execution time" arrays minus one.
+ one array per task, specifying the precedence constraints. The `k`-th array indicates the indices (between 1 and n)
of the predecessors of task `k`.
+ one array per task, specifying the precedence constraints. The $`k`$-th array indicates the indices (between $`1`$ and $`n`$)
of the predecessors of task $`k`$.
Arrays do not have to be separated, however it is good practice in my opinion to keep one per line.
Task numbering can be arbitrary (and does not have to follow dependencies), `pmtool` automatically computes a
......
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