google_translate wrote: |
---|
Hey guys, I have been given the task of programming a dependency analysis of parameters. Literally it says: "In this exercise, a class jsp is to be implemented which, in addition to the function values, determines their dependencies with regard to the function parameters. The dependencies are to be determined with the help of sets. A unique index can be assigned manually to all function parameters. If an operation with an object of this class is carried out, the dependency quantity must also be propagated in addition to the calculation of the value [..] An object of the class jsp consists of the function value of the type double and the set which determines which parameters this object depends on. The set should use the set set from the default library and store the indexes as an integer. Both attributes should be stored private. " I do not quite understand what is expected of me. Does anyone have any clear view? My approach so far for the class jsp: |