Skip to main content

//clika-runtime/io.clika.modelverse/FitGrade

FitGrade

[common]
enum FitGrade : Enum<FitGrade>

How comfortably a model's need sits in a device's memory, read from the memory share at the admitted context: at most 60 percent is PERFECT, at most 85 GOOD, at most 98 MARGINAL, above it TOO_TIGHT (no room left for the allocator), and a need no context of the device holds is DOES_NOT_FIT. word is the library's own spelling, the one the command line's check verb prints.

Entries​

PERFECT[common]
PERFECT
GOOD[common]
GOOD
MARGINAL[common]
MARGINAL
TOO_TIGHT[common]
TOO_TIGHT
DOES_NOT_FIT[common]
DOES_NOT_FIT

Types​

NameSummary
Companion[common]
object Companion

Properties​

NameSummary
name[common]
val name: String
ordinal[common]
val ordinal: Int
word[common]
val word: String

Functions​

NameSummary
valueOf[common]
fun valueOf(value: String): FitGrade
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[common]
fun values(): Array<FitGrade>
Returns an array containing the constants of this enum type, in the order they're declared.