Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Contains two new example domains:
examples/molecules
andexamples/logic-circuit-domain
.Implementation strategy and design decisions
These examples exhibit higher complexity in both the number of degrees of freedom and objectives/constraints. Below is a comparison to most of the remaining examples (see
caffeine
,glutamine
,full-adder
andhalf-adder
in the top right part of the diagram).Note that it may take several resamples to obtain a nice local minimum, especially for the more intricate substance programs. Below is an example of an optimization run during which the current optimizer get stuck in undesirable local minima for many optimization steps.
Examples with steps to reproduce them
Molecules
Run:
npx roger watch molecules/glutamine.sub molecules/molecules-basic.sty molecules/molecules.dsl
For more complicated example try
molecules/caffeine.sub
.Alternative styles:
molecules/molecules.sty
molecules/molecules-elegant.sty
Logic gates
Run:
npx roger watch logic-circuit-domain/half-adder.sub logic-circuit-domain/distinctive-shape.sty logic-circuit-domain/logic-gates.dsl
For more complicated example try
logic-circuit-domain/full-adder.sub
.Checklist
yarn test
yarn docs
and there were no errors when generating the HTML site