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
Since #275, we have some estimation algorithms (estimate_clusters) that return local structs for convenience instead of creating tuples of values. We should make those types first-class citizens in the library.
They should perhaps be specialized for different types of states.
It may be a good opportunity to revisit some algorithm implementations and apply the law of useful return:
Feature description
Since #275, we have some estimation algorithms (
estimate_clusters
) that return local structs for convenience instead of creating tuples of values. We should make those types first-class citizens in the library.Context: #275 (comment)
Implementation considerations
They should perhaps be specialized for different types of states.
It may be a good opportunity to revisit some algorithm implementations and apply the law of useful return:
See for reference https://en.cppreference.com/w/cpp/algorithm/ranges#Return_types.
The text was updated successfully, but these errors were encountered: