Skip to content

NevarokML: MultiBinaryStack Space

The NevarokML plugin provides a MultiBinaryStack space implementation, which represents a stack of multi-binary values. This space is useful for tasks where the agent needs to maintain a memory of binary values.


MultiBinaryStack Space Overview

The MultiBinaryStack space in NevarokML extends the functionality of the MultiBinary space by adding a stack dimension. It allows you to stack multiple instances of the multi-binary space values, creating a memory of binary values.

  • owner: Represents the owner of the space object, usually the object creating the space.
  • size: The size of the binary space.
  • stack: The size of the stack. Specifies how many instances of the multi-binary action space are stacked.

API

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

#include "Spaces/NevarokMLSpace.h"

UFUNCTION(BlueprintPure, Category = "NevarokML|Space")
static UNevarokMLSpace* MultiBinaryStack(UObject* owner, int32 size = 1, int stack = 1);

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