EstimatorDescriptor

data class EstimatorDescriptor(val id: String, val displayName: String, val kind: DistributionKind, val rvType: RVParametersTypeIfc, val familyId: String, val checksRange: Boolean, val factory: () -> ParameterEstimatorIfc)(source)

Self-describing record for one parameter-estimation algorithm registered with the fitting catalog. The id is the stable, wire-safe handle that configurations and DTOs use; the factory materializes a fresh KSL estimator instance on demand.

checksRange mirrors ParameterEstimatorIfc.checkRange and indicates whether the estimator requires a positive-domain shift check before estimation; it is the same flag PDFModeler consults to decide whether automatic shifting applies for this estimator.

kind partitions estimators between the continuous (PDF) and discrete (PMF) fitting paths; the validator rejects cross-kind requests.

familyId is the catalog ID for the distribution family this estimator targets, derived from its rvType. Two estimators (e.g. method-of- moments and maximum-likelihood for Gamma) can share a family.

Constructors

Link copied to clipboard
constructor(id: String, displayName: String, kind: DistributionKind, rvType: RVParametersTypeIfc, familyId: String, checksRange: Boolean, factory: () -> ParameterEstimatorIfc)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard