pyroll-project / pyroll-core

PyRoll rolling simulation framework - core library.
https://pyroll.readthedocs.io
BSD 3-Clause "New" or "Revised" License
12 stars 7 forks source link

Make iterating over stands easier when transports are present in the rollpass #152

Closed GRPlan closed 7 months ago

GRPlan commented 7 months ago

Summary

When transports are present in the rollpass it becomes more challenging to itreate over all stands in the rollpass.

Therefore PyRolL should provide methods to make access to stands easier by providing suitable iterators.

Also the elements of the rollpass could provide a type attribute (e.g. 'RollPass', 'Transport') to make filtering easier.