Skip to content

[Feature Request] PrioritizedSliceSampler #1876

@Cadene

Description

@Cadene

Motivation

This type of sampling is used in the literature:
https://github.com/fyhMer/fowm/blob/main/src/algorithm/helper.py#L504-L510
https://github.com/fyhMer/fowm/blob/main/src/algorithm/tdmpc.py#L334-L337

Solution

Add PrioritizedSliceSampler which inherits from PrioritizedSampler and SliceSampler.

Alternatives

Adding prioritized arguments in init of SliceSampler to avoid multiple inheritance.

Additional context

Discussed with @vmoens

Checklist

  • I have checked that there is no similar issue in the repo (required)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions