Arnaund,

I would recommend using an index based partitioner as opposed to the iterator 
based algorithm due to on big O performance of the partitioning algorithms.

Brad

On Aug 14, 2015, at 5:30 AM, Arnaud Gelas <[email protected]> wrote:

> Hi Matt,
> 
> I would like to use itk::ThreadedIteratorRangePartitioner with 
> itk::Mesh::PointsContainer or itk::Mesh::CellsContainer (i.e. 
> itk::VectorContainer or itk::MapContainer).
> 
> At first, I am trying to add one test which basically duplicates 
> itkThreadedIteratorRangePartitionerTest for the case of itk::VectorContainer, 
> you can find a patch here:
> 
>      http://review.source.kitware.com/#/c/20079/
> 
> I have compilation errors, due to the fact that internally 
> itk::ThreadedIteratorRangePartitioner uses std::distance and std::advance 
> which requires some typedefs which are not available for itk::VectorContainer 
> iterators...
> 
> Should I keep on working in that direction? I mean to try to fix these 
> classes for itk container's iterator (adapt it for these cases)? Make 
> specialization?
> 
> Thanks,
> Arnaud
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-developers
> _______________________________________________
> Community mailing list
> [email protected]
> http://public.kitware.com/mailman/listinfo/community

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers

Reply via email to