high
deepdrivewe.recyclers.high ¶
Recycle simulations above a certain progress coordinate threshold.
HighRecycler ¶
Bases: Recycler
Recycle simulations above a certain progress coordinate threshold.
Source code in deepdrivewe/recyclers/high.py
__init__ ¶
Initialize the recycler.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
basis_states
|
BasisStates
|
The basis states for the weighted ensemble. |
required |
target_threshold
|
float
|
The target threshold for the progress coordinate to be considered in the target state. |
required |
pcoord_idx
|
int
|
The index of the progress coordinate to use for recycling. Only applicable if a multi-dimensional pcoord is used, will choose the specified index of the pcoord for recycling. Default is 0. |
0
|
Source code in deepdrivewe/recyclers/high.py
recycle ¶
Recycle the simulations above the target threshold.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pcoords
|
ndarray
|
The progress coordinates for the simulations. Shape: (n_simulations, n_dims). |
required |
Returns:
| Type | Description |
|---|---|
ndarray
|
The list of simulation indices to recycle. Shape: (n_recycled,) |