Skip to content
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

Tool to build processes dynamically #580

Open
phstratmann opened this issue Jan 23, 2023 · 1 comment
Open

Tool to build processes dynamically #580

phstratmann opened this issue Jan 23, 2023 · 1 comment
Assignees
Labels
0-needs-review For all new issues 1-feature New feature request 2-not-important/not-urgent Issues that are neither important nor urgent

Comments

@phstratmann
Copy link
Contributor

phstratmann commented Jan 23, 2023

User story

As a user, I want a generic to create Processes dynamically. In many cases, the details of a Process may depend on calculations performed during code execution. In addition, dynamical Process creation allows for a higher level of abstraction.
At the moment, the Optimization Library already has a feature to dynamically create classes in the SolverProcessBuilder. This feature should be made available as generic tool to all Lava developers.

Conditions of satisfaction

  • Users can create a Process dynamically
  • Users have a clean interface to set implements_process, required_resources, implements_protocol
  • Users can create a PyProcModel dynamically

Acceptance tests

  • Replace the dynamical Process creation in the SolverProcessBuilder in lava-optim.
@tim-shea
Copy link
Contributor

This does seem like a very powerful feature, but it also makes debugging and even understanding the generated process graphs significantly more complicated. I would love to see this infrastructure incorporated into Lava alongside some usability improvements for interacting with, visualizing, and debugging the process and process model graphs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-needs-review For all new issues 1-feature New feature request 2-not-important/not-urgent Issues that are neither important nor urgent
Projects
None yet
Development

No branches or pull requests

4 participants