You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not an immediate next step, but it would be great to have the feature of "contraction".
This is a function which takes a composite class and turns it into a non-composite class.
Parameters from the components are all mapped onto parameters of the result.
Example:
if input has get_params().keys() output ["component1", "component1_foo", "component2", "component2_bar", "foobar"], after contraction this should become ["foo", "bar", "foobar"], without any functional difference to the objects in question. In the "contracted" class, the components are hard-coded (whereas in the composite they may not have been).
The text was updated successfully, but these errors were encountered:
Apologies, I did not see your post earlier since this repo is currently still in early design stage, and we didn't monitor this repo for new contributor posts.
This is not about list contraction but class contraction - apologies.
Not an immediate next step, but it would be great to have the feature of "contraction".
This is a function which takes a composite class and turns it into a non-composite class.
Parameters from the components are all mapped onto parameters of the result.
Example:
if input has
get_params().keys()
output["component1", "component1_foo", "component2", "component2_bar", "foobar"]
, after contraction this should become["foo", "bar", "foobar"]
, without any functional difference to the objects in question. In the "contracted" class, the components are hard-coded (whereas in the composite they may not have been).The text was updated successfully, but these errors were encountered: