Hi,
I initialized the three variables(best, bestseq, Tms) of an object (o3). Later in a loop, I want to update these three variables only if a condition occurs( sm0 < best).
However what I see at the end is 'best' variable is updated correctly(only when sm0 < best) but the other two are updated at the every step of the loop.
I think there is a stupid mistake that I can't see since I am new in
Java. Please I need an urgent help.
It is ridiculous that even though I use 'set' & 'get' methods below (setting the object only inside the if clause), "Tms for the new best"(which is updated correctly) and "Ultimate Tms"(updated somehow) are different. I guess, it is about Othree Class??