Skip to content

ExploitationPreferencesEstAlg

Samuel Gomes edited this page Jul 12, 2024 · 5 revisions

ExploitationPreferencesEstAlg

ExploitationPreferencesEstAlg is an estimation algorithm that values exploitation of the players' current state. When used in conjunction with a purely greedy grouping approach, it gets stuck in the first local maximum.

Constructor and Members

Constructor

ExploitationPreferencesEstAlg(
        player_model_bridge: PlayerModelBridge,
        quality_weights: PlayerCharacteristics = {ability = 0.5, engagement = 0.5): void

Members

Name: expected type Default value Description
player_model_bridge: PlayerModelBridge - The connector for the player data storage.
quality_weights: PlayerCharacteristics {ability= 0.5, engagement= 0.5} The importance given to each player characteristic when computing the quality of a configuration.

Functions

__calc_quality(state: PlayerState): decimal

Description

Computes the quality of a player state, between 0 and 1. A higher value means better quality.

Overrides updateEstimates() (see PreferencesEstAlg).

Clone this wiki locally