11 #include "zmqbufferedconsumer.h" 12 #include "zmqbufferedproducer.h" 14 #include <cereal/archives/binary.hpp> 29 : key(
std::move(key)), episode(
std::move(episode)) {}
31 : key(
std::move(key)), episode(
std::move(episode)) {}
33 template <
typename Archive>
Definition: episodeserver.h:23
EpisodeTuple key
Definition: episodeserver.h:24
EpisodeKey episodeKey
Definition: trainer.h:54
void serialize(Archive &ar)
Definition: episodeserver.h:34
A buffered producer that obtains data via ZeroMQ.
Definition: zmqbufferedproducer.h:51
EpisodeData(EpisodeTuple key, ReplayBuffer::Episode &&episode)
Definition: episodeserver.h:30
ReplayBuffer::Episode episode
Definition: episodeserver.h:25
A buffered consumer that sends data via ZeroMQ.
Definition: zmqbufferedconsumer.h:42
The TorchCraftAI training library.
Definition: batcher.cpp:15
GameUID gameID
Definition: trainer.h:53
std::vector< std::shared_ptr< ReplayBufferFrame >> Episode
Definition: trainer.h:89
Definition: episodeserver.h:16
EpisodeData(EpisodeTuple key, ReplayBuffer::Episode episode)
Definition: episodeserver.h:28