Thomj-Dev / SEMBAS

GNU General Public License v3.0
0 stars 0 forks source link

Runtime dynamic dimensionality negotiation #14

Open ThomJ130 opened 3 months ago

ThomJ130 commented 3 months ago

Since the FUT determines the dimensionality of the space being explored, it is cumbersome to update the SEMBAS solution with a hard-coded value for the number of dimensions. This is due to the generic constant, <const N: usize>, being used for the convenience given by compile-time error checking and type inference. Is it possible to have both?

ThomJ130 commented 3 months ago

Related post: https://stackoverflow.com/questions/68907965/does-rust-support-const-generic-types-with-a-runtime-determined-value

May require refactor of structs to avoid const generics.