-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StateFeature registration via config, service.build, user query #145
Comments
@nreinicke thinking of re-writing this one, expanding on the idea to a sort of general approach to registering state features with the state model:
thinking maybe we rename what do you think? does this clean things up? |
Yeah I like this idea, having the default state features come from the traversal model. Then, at query time, the user could propose a new initial condition for any state feature. If it exists in the state vector that was built by the traversal model it will update it, or, if it doesn't exist, either ignore that parameter or fail. |
I think this happens for the most part, but, I don't think user queries can update the state model yet, so I'm keeping it open until we resolve that capability. |
In order to more clearly delineate between TraversalModels in a hierarchical arrangement, we can enforce that any TraversalModel "registers" the feature it updates.
This would assert the following conventions + code changes:
[state]
section, but instead, always come from traversal model configurationTraversalModel::register_features()
(currentlystate_features()
) and returns the state features that it updatesThe text was updated successfully, but these errors were encountered: