kbss-cvut / fta-fmea

GNU General Public License v3.0
3 stars 1 forks source link

Cutsets API should return ordered list #69

Open blcham opened 7 months ago

blcham commented 7 months ago

REST API should return an ordered list of cutsets, with the highest probability first.

This way: 1) we do not need to sort in UI 2) we can decide in the future to return only a limited number of cutsets

blcham commented 7 months ago

I can imagine only one situation when it is useful to have API without sorting. It would be the case when:

@kostobog this is not the case right?

blcham commented 7 months ago

We definitely do not want to persist ordering in the list since we have this information in the probability.

blcham commented 7 months ago

@kostobog please comment on how to implement it in case it makes sense.