familiesEquivalent

Indicates whether the fitted family counts as recovering the true one, allowing for the families that coincide at some parameter values.

Parameters

trueType

the family that generated the component

fittedType

the family that was selected


fun familiesEquivalent(trueName: String, fittedName: String): Boolean(source)

Indicates whether two family names count as recovering one another.

Provided for analysis that reads family names back from a database, where the recorded value is the family's name rather than its type. Defined here so that the equivalence classes have one definition: a caller that restated them would drift from what this comparison actually scores, and the drift would be invisible.

Parameters

trueName

the name of the family that generated the component

fittedName

the name of the family that was selected