Performs a complete distance analysis of a point layer:
processing.runalg('saga:minimumdistanceanalysis', points, table)