Skip to content

Timing issue with Malfunctions #18

@Ravio-li

Description

@Ravio-li

The context provided when a malfunction occurs has constraint rules describing actions that have already taken place and ones that require wait actions during the malfunction duration.

Screenshot 2024-12-09 194306

Action at timestep 14 in this example causes an issue. The encoding must generate this action, but the malfunction will already occur at timestep 14 and ignores all given actions.

Screenshot 2024-12-09 194701

This means primary encodings cannot solve Env's with malfunctions right now. Removing the last action from the context past actions might still cause desync issues. The train must wait at the first timestep of the malfunction, ignoring the last occured action as it did nothing in Flatland either.

Alternatively, a primary encoding can use the malfunction(ID,Duration,Timestep) fact to simulate the lost action. I will try this out next. Maybe this is better than changing the provided context.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions