The function executeMethod
is really the heart of distcomp.
It executes an arbitrary method on an object that has been serialized to the
distcomp workspace with any specified arguments. The result, which is dependent
on the computation that is executed, is returned. If the object needs to save
state between iterations on it, it is automatically serialized back for the ensuing
iterations
executeMethod(objectId, method, ...)
the (instance) identifier of the object on which to invoke a method
the name of the method to invoke
further arguments as appropriate for the method
a result that depends on the computation being executed