You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yirmandias edited this page Jul 21, 2021
·
1 revision
Pseudo code for getting instantiated methods
We assume that methods have arguments in the same order as the task
Code:
GetMethodInstances(methods, task_args)
instanceList <- {}
for m in methods
q <- number of params
method_args <- arguments of the method
if len(task_args) < q //there is more arguments
paramList = EvaluateParameters(m.parameters, mArgs, tArgs) //
....