<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Arnaund,<div><br></div><div>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.</div><div><br></div><div>Brad</div><div><br><div><div>On Aug 14, 2015, at 5:30 AM, Arnaud Gelas <<a href="mailto:arnaudgelas@gmail.com">arnaudgelas@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div><div><div><div><div><div>Hi Matt,<br><br></div>I would like to use itk::ThreadedIteratorRangePartitioner with itk::Mesh::PointsContainer or itk::Mesh::CellsContainer (i.e. itk::VectorContainer or itk::MapContainer).<br><br></div>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:<br><br> <a href="http://review.source.kitware.com/#/c/20079/">http://review.source.kitware.com/#/c/20079/</a><br><br></div>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...<br><br></div>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?<br><br></div>Thanks,<br></div>Arnaud<br></div>
_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://public.kitware.com/mailman/listinfo/insight-developers<br>_______________________________________________<br>Community mailing list<br>Community@itk.org<br>http://public.kitware.com/mailman/listinfo/community<br></blockquote></div><br></div></body></html>