Package mdp :: Package parallel :: Class ResultContainer
[hide private]
[frames] | no frames]

Class ResultContainer


Abstract base class for result containers.

Instance Methods [hide private]
 
add_result(self, result_data, task_index)
Store a result in the container.
 
get_results(self)
Return results and reset container.

Inherited from unreachable.newobject: __long__, __native__, __nonzero__, __unicode__, next

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

add_result(self, result_data, task_index)

 
Store a result in the container.

get_results(self)

 
Return results and reset container.