I have to write a numerical simulation, for which I have created a class called "Organism" which I call each time an organism is created in the simulation.
All instances of the class Organism need to be able to access a given set of parameters. Those parameters needs to be defined outside the class definition. Could you tell me what is the best way to proceed ?
more info needed on these 'parameters'... should they be constants? An inherited or has-a class? Just parameters to a method of the class (ctor seems likely?)
these are real positive numbers (about 5 of them). They are constant. And should not be changed in the code.
I don't want to have them defined as static member of the class Organism if I could avoid it.