getProblem and getAlgo
how can i get back objects i added to the reg?
like here https://github.com/tudo-r/BatchExperiments/blob/master/R/getProblem.R
There is no class Problem or Algorithm (yet). This is on my todo. In the meantime, you can access everything like this:
j = makeJob(1)
j$problem
j$algorithm
j$instance
Note that this is subject to change.
This is on my todo
ok. i think this should be supported. if you add it, you need to be able to retrieve this.
j = makeJob(1) j$problem j$algorithm j$instance
this is was i remembered. but: isnt makeJob a misnomer? because is l was looking for "getJob"? (also i find this strange that i did not find makeJob at all)
(also i find this strange that i did not find makeJob at all)
so what i did was: after getProblem did not exist i looked at all getters. there i also didnt see a getter for the job. makeJob really sounds like something else, an constructor.
suggestion: either alias or rename makeJob.
also one could document how to access the problem like you have shown here. (with the little warning about it maybe being changed) it is also not the best solution, because i have a problem name, to start out, not a job id.