![](https://secure.gravatar.com/avatar/417d648b66e8466768a0924dea5de5a0.jpg?s=120&d=mm&r=g)
Oct. 15, 2008
5:07 p.m.
2008/10/15 Arnaud Delobelle <arnodel@googlemail.com>:
Partial orderings are certainly used, but I believe they are far less common than total ones. Regardless, a partially ordered class has to explicitly define the supported methods with the desired semantics anyway; the proposed change wouldn't make this any harder.
I don't understand. In a mathematical ordering,
* x > y means the same as y < x * x <= y means the same as x < y or x = y * x >= y means the same as x > y or x = y
and this is irrespective of whether the ordering is partial or total.
But for a total ordering 'not y < x' is a more efficient definition of 'x <= y' than 'x < y or x == y'. -- Marcin Kowalczyk qrczak@knm.org.pl http://qrnik.knm.org.pl/~qrczak/