- foxes.core.Engine.new_chunk_results_manager(algo, **kwargs)[source]
Creates a new ChunkResultsManager
Parameters¶
- algo: foxes.core.Algorithm
The algorithm object
- kwargs: dict, optional
Additional keyword arguments
Returns¶
- crm: foxes.core.engine.ChunkResultsManager
The chunk results manager
Example¶
Derived engines should receive results from chunked calculations through
>>> with engine.new_chunk_results_manager(...) as results_man: >>> ... >>> results_man.update(results, futures) >>> ...After exiting the with-block, the final results are available through results_man.results.