lib/router.js
/*
 * builds a pure local routing table for jobs with no remotes
 * @param size {Number}: the size of the job
 * @return {Object}: the built table;
 */
builds a pure local routing table for jobs with no remotes
@param size {Number}: the size of the job
@return {Object}: the built table.
builds a pure local routing table for jobs with no remotes @param size { Number } : the size of the job @return { Object } : the built table .
function buildPureLocalTable(size) {
    var pureLocal = {};
    for(var id = 0; id < size; id++)
        pureLocal['proc' + id] = 'local';
    pureLocal.parent = 'local';
    return pureLocal;
}
function buildPureLocalTable ( size ) { var pureLocal = { } ; for ( var id = 0 ; id < size ; id ++ ) pureLocal [ 'proc' + id ] = 'local' ; pureLocal . parent = 'local' ; return pureLocal ; }
builds a pure local routing table for jobs with no remotes
 @param size {Number}: the size of the job
 @return {Object}: the built table;
builds a pure local routing table for jobs with no remotes @param size { Number } : the size of the job @return { Object } : the built table ;