contentRankingAlgorithm
SUMMARY DETAIL
Static Class contentRankingAlgorithm
Specifies algorithms to use
when calculating an attribute's score.
You can combine flags if they don't conflict with each other.
For example, you can combine directly proportional with least steep,
but you can't combine directly proportional with inversely proportional.
See also:
RankableItem.modifyAttributeAlgorithm()
Property Summary
-
<static> integer
DirectlyProportional
- The score increases as the attribute value increases.
-
<static> integer
InverselyProportional
- The score decreases as the attribute value increases.
-
<static> integer
LeastSteep
- A change in attribute value causes
the score to increase or decrease
by a small amount.
-
<static> integer
MostSteep
- A change in attribute value causes
the score to increase or decrease
by a large amount.
Property Detail
DirectlyProportional
<static> integer DirectlyProportional
The score increases as the attribute value increases.
InverselyProportional
<static> integer InverselyProportional
The score decreases as the attribute value increases.
LeastSteep
<static> integer LeastSteep
A change in attribute value causes
the score to increase or decrease
by a small amount.
If you graph the attribute value on the x-axis
and the score on the y-axis,
the curve is flatter for LeastSteep
than it is for MostSteep.
MostSteep
<static> integer MostSteep
A change in attribute value causes
the score to increase or decrease
by a large amount.
See also:
LeastSteep
Back to top