SD2E / opil

The Open Protocol Interface Language (OPIL) is intended as a standard language for protocol interfaces
5 stars 1 forks source link

Change ProtocolInterface SampleSet to a new FactorSpace class? #135

Open jakebeal opened 3 years ago

jakebeal commented 3 years ago

We're abusing CombinatorialDerivation somewhat in its usage within a ProtocolInterface.

This is problematic when it comes to expressing things like allowed ranges of numerical values, since CombinatorialDerivation expresses only discrete finite sets, but regions of allowed values will often be continuous.

Likely, we should shift to sort of FactorSpace class that is similar, but allows us to specifically express allowed ranges. This sort of typing would be valuable for use with parameter values as well, and likely on into PAML.