Skip to content

Type Alias: FeatureShare ​

FeatureShare = object

Defined in: types-provenance.ts:127

Share of one source feature covered by a set of selected rendered rows.

This is the inverse direction of MarkContribution: selecting the March bucket of an event line covers 3 of the 12 events of a road, so the road's share is 3/12. Units are weighted by ProvenanceContribution.weight, so a density interval covering 37% of a feature's kernel mass gives 0.37/1.

Properties ​

selectedUnits ​

selectedUnits: number

Defined in: types-provenance.ts:129

Units of the feature reduced into the selected rows, weighted.


totalUnits ​

totalUnits: number

Defined in: types-provenance.ts:131

Total weighted units in the scope used to compute the share.

Released under the MIT License.