evorl.algorithms.meta.pbt_operations

Module Contents

Functions

explore

Define the exploration operation for PBT.

select

Select parents to replace worse individuals.

API

evorl.algorithms.meta.pbt_operations.explore(parent: chex.ArrayTree, key: chex.PRNGKey, perturb_factor: dict[str, float], search_space: dict[str, dict[str, float]])[source]

Define the exploration operation for PBT.

Normally explore the local of an individual. i.e., mutation op in the context of EC. Here we use the orginal exploration operator in PBT.

evorl.algorithms.meta.pbt_operations.select(pop_episode_returns: chex.Array, key: chex.PRNGKey, bottoms_num: int, tops_num: int)[source]

Select parents to replace worse individuals.