Skip to content

feature!: MM clauses can access the current simulation state#309

Open
JavadocMD wants to merge 2 commits into
mainfrom
movement-and-sim-state
Open

feature!: MM clauses can access the current simulation state#309
JavadocMD wants to merge 2 commits into
mainfrom
movement-and-sim-state

Conversation

@JavadocMD

Copy link
Copy Markdown
Contributor

(Slightly) breaking change due to the change in MovementClause's API. Since this is already breaking, I went ahead and eliminated SimulationTickFunction as it doesn't really make sense to add the 'available' param here. MovementClause is the only place it was used anyway, so this feels like a good code reduction.

(Slightly) breaking change due to the change in MovementClause's API. Since this is already breaking, I went ahead and eliminated SimulationTickFunction as it doesn't really make sense to add the 'available' param here. MovementClause is the only place it was used anyway, so this feels like a good code reduction.
@JavadocMD

JavadocMD commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Question: should we simplify the MM clause evaluate function signature by removing the star? (Making available a keyword-or-positional arg?) In retrospect I don't think we gain very much by making it keyword-only, and it's just added complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MovementModels can use the current simulation state in their calculations

1 participant