in reply to Re: A proper name for is_sorted function that can check more than just sorting order?
in thread A proper name for is_sorted function that can check more than just sorting order?
Exactly right, the problem is broken down via reduce and then some characterization. Ordering can be ascending/descending, strict/non-strict, involve numeric/string compare, etc.
However, the example given is a test for gaps or discontinuities rather than ordering. This, and the other topic relating to Testing, makes me think the concept OP is looking for might be invariant.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: A proper name for is_sorted function that can check more than just sorting order?
by Dallaylaen (Chaplain) on Dec 25, 2017 at 23:02 UTC | |
by Anonymous Monk on Dec 26, 2017 at 20:26 UTC | |
by Dallaylaen (Chaplain) on Dec 28, 2017 at 10:32 UTC |