NevarokML: BoxDYStack Space
The NevarokML plugin provides a BoxDYStack
space implementation, which represents a stack of n-dimensional continuous boxes. This space is useful for tasks where the agent needs to maintain a memory of continuous box values.
BoxDYStack Space Overview
The BoxDYStack
space in NevarokML extends the functionality of the Box space by adding a stack dimension. It allows you to stack multiple instances of the n-dimensional continuous boxes, creating a memory of continuous box values.
- owner: Parameter represents the owner of the space object, usually the object creating the space.
- size (Shape): The shape of the box space.
- min (Low): The lower bound of the box, specifying the minimum value for each dimension.
- max (High): The upper bound of the box, specifying the maximum value for each dimension.
- stack: The size of the stack. Specifies how many instances of the n-dimensional continuous boxes are stacked.
Note
The values are stacked along the Y-axis.
API
Here is the API for the BoxDYStack
space in NevarokML, along with the corresponding default parameter settings:
#include "Spaces/NevarokMLSpace.h"
UFUNCTION(BlueprintPure, Category = "NevarokML|Space")
static UNevarokMLSpace* BoxDYStack(UObject* owner, FNevarokMLIndex2D size, const TArray<float>& min, const TArray<float>& max, int stack = 1);
To create a BoxDYStack
space, call the BoxDYStack
factory function and provide the required parameters. The function will return an instance of the UNevarokMLSpace class, representing the BoxDYStack
space.