Closed jorialand closed 4 years ago
I think it's not clean to store a filtered pcp for every spacecraft. If my pcp has 10M rows, and I have 15 spacecrafts, I will store in ram operations with 150M rows? I think it'd be better to just store a filter in each spacecraft, and to filter the pcp only on demand.
So, this issue is for developing the filter class, which will be a pandas dataframe, which stores the filter to be applied.
As told by Miquel Sureda in yesterday's meeting. It's not correct to consider that a CREWED spacecraft will consist in a two way trip, as I was thinking.
A more correct approach would be to add a member variable, defining if that a concrete spacecraft will consist in a one or two way trip, the user should be able to access this member variable and modify it to control the number of trips to be considered for a spacecraft.
In this way, there could exist one way or two way CREWED spacecrafts, and one way or two way CARGO ones.
Commit 70488c0cbc3affda917f40cd4aaff3211bb8dddd