bessagroup / f3dasm

Framework for Data-Driven Design & Analysis of Structures & Materials (F3DASM)
https://f3dasm.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
111 stars 29 forks source link

Make the parameter classes private #224

Closed mpvanderschelling closed 9 months ago

mpvanderschelling commented 9 months ago

The problem

The parameter classes (e.g. CategoricalParameter) do not have to be public since the intended way of building a domain is by gradually adding parameter with the .add_float, .add_int, add_category etc. functions.

Solution

Make these parameters private; e.g. _CategoricalParameter.