Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProgressiveHighlightAndReorderItems

Hierarchy

  • ProgressiveHighlightAndReorderItems

Implements

Index

Constructors

constructor

Properties

Private allItems

allItems: Item[]

Private currentItemCharacteristics

currentItemCharacteristics: object

Type declaration

name

name: string = "Progressive HL + R items"

Private policy

policy: TargetPolicy

Private previousItemCharacteristics

previousItemCharacteristics: object

Type declaration

Private progressiveHighlight

progressiveHighlight: Highlight

Private progressiveReorder

progressiveReorder: ReorderItems

Methods

apply

cancel

  • cancel(): void

Private computeCurrentItemCharacteristics

  • computeCurrentItemCharacteristics(sortedItemsWithScores: ItemWithScore[]): void

Private computeItemAdaptationState

  • computeItemAdaptationState(previousState: AdaptationState, previousScore: number, currentScore: number, lastStateChangeScore: number): AdaptationState

Private createProgressiveHighlight

Private createProgressiveReorderItem

Private getItemsWithCurrentState

Private loadOrInitPreviousItemCharactertics

  • loadOrInitPreviousItemCharactertics(items: Item[], database: Database): void

Private saveCurrentItemCharacteristics

  • saveCurrentItemCharacteristics(database: Database): void

Generated using TypeDoc