Changeset 24 for profile/src/main/java/geniusweb/profile/FullOrdering.java
- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
profile/src/main/java/geniusweb/profile/FullOrdering.java
r1 r24 11 11 * @param bid1 the first item's utility/preference 12 12 * @param bid2 the second item's utility/preference 13 * @return true iff bid1 is considered better or equal (≥) than bid 2. In all14 * other cases false is returned.13 * @return true iff bid1 is considered better or equal (≥) than bid 2. In 14 * all other cases false is returned. 15 15 * 16 16 * This predicate should be implemented such that 17 * <ul> 17 18 * <li>For all b1 and b2, either b1 ≥ b2 or b2 ≥ b1. 18 19 * <li>b ≥ b (every bid is better or equal to itself) 19 * <li>If b1≥b2 and b2≥b1 then the two bids are considered equally 20 * good. Note that this differes from a partial order in mathematics. 21 * <li>it behaves transitive: if b1≥b2 and b2≥b3 then b1≥b3. 20 * <li>If b1≥b2 and b2≥b1 then the two bids are considered 21 * equally good. Note that this differes from a partial order in 22 * mathematics. 23 * <li>it behaves transitive: if b1≥b2 and b2≥b3 then 24 * b1≥b3. 25 * </ul> 22 26 */ 23 27 @Override
Note:
See TracChangeset
for help on using the changeset viewer.