smartgrid.wrappers.reward_aggregator

RewardAggregators wrap the multi-objective env into a single-objective by aggregating rewards (e.g., using an average, min, weighted sum, …).

members:

Classes

MinRewardAggregator(env)

Returns the minimum of the rewards to scalarize.

ProductRewardAggregator(env)

Scalarizes rewards by multiplying them together.

RewardAggregator(env)

Wraps the multi-objective env into a single-objective by aggregating rewards.

SingleRewardAggregator(env)

Returns the single reward for simplicity.

WeightedSumRewardAggregator(env[, coefficients])

Scalarizes multiple rewards through a weighted sum.