kernel.map

Module: kernel.map

Inheritance diagram for IPython.kernel.map:

Classes used in scattering and gathering sequences.

Scattering consists of partitioning a sequence and sending the various pieces to individual nodes in a cluster.

Classes

Map

class IPython.kernel.map.Map

A class for partitioning a sequence using a map.

concatenate(listOfPartitions)
getPartition(seq, p, q)
Returns the pth partition of q partitions of seq.
joinPartitions(listOfPartitions)

RoundRobinMap

class IPython.kernel.map.RoundRobinMap

Bases: IPython.kernel.map.Map

Partitions a sequence in a roun robin fashion.

This currently does not work!

getPartition(seq, p, q)
joinPartitions(listOfPartitions)