Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2c715435 authored by hhakim's avatar hhakim
Browse files

Update the MHTPParams.__repr__ function (displaying all attributes).

parent 3645ab9d
No related branches found
No related tags found
No related merge requests found
......@@ -751,7 +751,12 @@ class MHTPParams:
"""
The MHTPParams instance str representation.
"""
return str(MHTP_stop_crit)
return ("num_its: "+str(self.stop_crit.num_its)+"\r\n"+
"constant_step_size: "+str(self.constant_step_size)+"\r\n"+
"step_size: "+str(self.step_size)+"\r\n"+
"palm4msa_period: "+str(self.palm4msa_period)+"\r\n"+
"updating_lambda: " +str(self.updating_lambda)+"\r\n")
# experimental block end
class ParamsFact(ABC):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment