Skip to content

Struct FNNEBoxBuffer

Struct FNNEBoxBuffer

  • Defined in File NNEBuffer.h

Inheritance Relationships

Base Type

struct FNNEBoxBuffer : public FNNEPointBuffer

Source: Source/Schola/NNE/Public/NNEUtils/NNEBuffer.h

Dependencies: FNNEBufferVisitor

Buffer for continuous box-bounded action or observation spaces.

Stores continuous values within bounded ranges, commonly used for continuous control tasks where actions or observations are real-valued vectors with upper and lower bounds.


Public Functions

SymbolDetails
FNNEBoxBuffer
~FNNEBoxBuffer
FNNEBoxBufferConstructor that initializes the box buffer with a specific size.
MakeBindingCreates an NNE tensor binding for this buffer.
AcceptAccept method for the visitor pattern.

FNNEBoxBuffer

FNNEBoxBuffer() = default

Source: Source/Schola/NNE/Public/NNEUtils/NNEBuffer.h


~FNNEBoxBuffer

virtual ~FNNEBoxBuffer() = default

Attributes: virtual

Source: Source/Schola/NNE/Public/NNEUtils/NNEBuffer.h

FNNEBoxBuffer

inline FNNEBoxBuffer(int Size)

Constructor that initializes the box buffer with a specific size.

Parameters

Size – [in] Dimensionality of the continuous space

Source: Source/Schola/NNE/Public/NNEUtils/NNEBuffer.h

MakeBinding

inline UE::NNE::FTensorBindingCPU MakeBinding() const

Creates an NNE tensor binding for this buffer.

Returns:

Tensor binding containing the buffer data

Attributes: inline, const

Source: Source/Schola/NNE/Public/NNEUtils/NNEBuffer.h

Accept

virtual void Accept(FNNEBufferVisitor &Visitor) const override

Accept method for the visitor pattern.

Parameters

Visitor – [inout] The visitor object that will process this buffer

#DirectionNameTypeDescription
1VisitorFNNEBufferVisitor &The visitor object that will process this buffer

Attributes: const, virtual

Source: Source/Schola/NNE/Public/NNEUtils/NNEBuffer.h

Implementation: Source/Schola/NNE/Private/NNEUtils/NNEBuffer.cpp


Public Members

SymbolDetails
BufferBuffer storing continuous values.

Buffer

TArray<float> Buffer

Buffer storing continuous values.