When I create an impact function set from some impact function impf I always do it with
impfset = ImpactFuncSet()
impfset.append(impf)
In the spirit of not initialising empty classes, I'd like to either
- write an
ImpactFuncSet.from_impf method which initialises from a list of impact functions
- modify
ImpactFuncSet.__init__ to take a list of impact functions on initialisation
Is this a good idea? Any preferences?