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

connection constraint #4

Open
Tracked by #1
ryo33 opened this issue May 24, 2022 · 1 comment
Open
Tracked by #1

connection constraint #4

ryo33 opened this issue May 24, 2022 · 1 comment

Comments

@ryo33
Copy link
Owner

ryo33 commented May 24, 2022

No description provided.

@ryo33 ryo33 mentioned this issue May 24, 2022
14 tasks
@ryo33
Copy link
Owner Author

ryo33 commented May 26, 2022

I think we don't need this in this crate because there is no universal constraint expression.

I have two ideas of expressions for constraint:

  1. a list of all constraints
  2. a function that returns a constraint for arguments

1. a list of all constraints

Pros

  • nice data-driven API
  • simple implementation

Cons

  • explosion in numbers with many ports

2. a function that returns a constraint for arguments

Pros

  • no explosion
  • high dynamicity

Cons

  • less data-driven

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

No branches or pull requests

1 participant