Skip to content

NevarokML: BoxDXStack Space

The NevarokML plugin provides a BoxDXStack 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.

BoxDXStack Space Overview

The BoxDXStack 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.


The values are stacked along the X-axis.


Here is the API for the BoxDXStack space in NevarokML, along with the corresponding default parameter settings:

#include "Spaces/NevarokMLSpace.h"

UFUNCTION(BlueprintPure, Category = "NevarokML|Space")
static UNevarokMLSpace* BoxDXStack(UObject* owner, FNevarokMLIndex2D size, const TArray<float>& min, const TArray<float>& max, int stack = 1);

To create a BoxDXStack space, call the BoxDXStack factory function and provide the required parameters. The function will return an instance of the UNevarokMLSpace class, representing the BoxDXStack space.