You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* standard solver + diagnostic solver are now merged as an elastic solver that can do both
* fixed (re-added because it was lost between v1 and v2) full minimum rest enforcement
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ The C-API uses the following structs to pass data to and from the solver.
39
39
|`isDriver`|`int`|`1` if the member can drive, `0` otherwise. |
40
40
|`isSpotter`|`int`|`1` if the member can spot, `0` otherwise. |
41
41
|`maxStints`|`int`| Hard constraint: Maximum number of consecutive stints a member can perform. |
42
-
|`minimumRestHours`|`int`| Hard constraint: Minimum rest time required after a driving shift before driving again. |
42
+
|`minimumRestHours`|`int`| Hard constraint: Minimum contiguous rest time required once per race. <br> **Integrated Mode:** Applies to combined Driving and Spotting time. <br> **Sequential Mode:** Applies only to Driving. |
43
43
|`tzOffset`|`double`| Timezone offset in hours from UTC. |
44
44
45
45
`JresStint`
@@ -180,7 +180,7 @@ The `raceDataJson` string passed to `jres_input_from_json` must strictly follow
180
180
| `isDriver` | Boolean | `true` | Can this member drive? |
181
181
| `isSpotter` | Boolean | `false` | Can this member spot? |
182
182
| `maxStints` | Integer| `1` | Hard constraint: Maximum number of consecutive stints a member can perform. |
183
-
| `minimumRestHours` | Integer| `0` | Hard constraint: Minimum rest time required after a driving shift before driving again. |
183
+
| `minimumRestHours` | Integer| `0` | Hard constraint: Minimum contiguous rest time required once per race. <br> **Integrated Mode:** Applies to combined Driving and Spotting time. <br> **Sequential Mode:** Applies only to Driving. |
184
184
| `tzOffset` | Number | `0.0` | Timezone offset in hours from UTC. |
0 commit comments