I have a complex problem that is seeking the community for assisting.
I have a java implementation of a code which has multiple inputs and multiple outputs. In a straightforward case, there can be a java method to take in the exact multiple inputs and churn out the multiple outputs. In some complex scenarios, some of the outputs can be inputs and vice versa.
How can I write a generic simulator to take into account the exact input variables during runtime and churn out the required outputs?
Not sure if anyone can understand what I have said. Thanks.