TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | List of all members
cpid::ReplayBufferFrame Struct Reference

Stub base class for replay buffer frames. More...

#include <trainer.h>

Inherited by cpid::BatchedPGReplayBufferFrame, cpid::OnlineZORBReplayBufferFrame, and cpid::RewardBufferFrame.

Public Member Functions

virtual ~ReplayBufferFrame ()=default
 
template<class Archive >
void serialize (Archive &ar)
 

Detailed Description

Stub base class for replay buffer frames.

Frames that are serializable need to implement serialize() or load()/save() and register themselves in global scope with CEREAL_REGISTER_TYPE(MyReplayBufferFrame) and (depending on how you serialize) CEREAL_REGISTER_POLYMORPHIC_RELATION(ReplayBufferFrame, MyReplayBufferFrame)

Constructor & Destructor Documentation

virtual cpid::ReplayBufferFrame::~ReplayBufferFrame ( )
virtualdefault

Member Function Documentation

template<class Archive >
void cpid::ReplayBufferFrame::serialize ( Archive &  ar)
inline

The documentation for this struct was generated from the following file: