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

Change notion of constraints #1

Open
halfdan opened this issue Sep 20, 2013 · 0 comments
Open

Change notion of constraints #1

halfdan opened this issue Sep 20, 2013 · 0 comments
Assignees
Milestone

Comments

@halfdan
Copy link
Member

halfdan commented Sep 20, 2013

Currently constraints are implemented as a list which requires the user of a problem to set the problem dimension. For most benchmark functions the dimension is irrelevant.

It would be better to change List<Constraint> getDefaultConstraints to Constraint getDefaultConstraint. The notion of a ValueConstraint would simply change from one dimension to the whole search space. An additional MultidimensionalConstraint could be implemented to have different constraints per dimension.

@ghost ghost assigned halfdan Sep 20, 2013
halfdan added a commit that referenced this issue Sep 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant