TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | Public Attributes | List of all members
cpid::Cpid2kMetrics::Aggregator Struct Referenceabstract

#include <cpid2kworker.h>

Public Member Functions

virtual ~Aggregator ()=default
 
virtual void add (float value)=0
 
virtual nlohmann::json value () const =0
 

Public Attributes

std::string_view type
 

Constructor & Destructor Documentation

virtual cpid::Cpid2kMetrics::Aggregator::~Aggregator ( )
virtualdefault

Member Function Documentation

virtual void cpid::Cpid2kMetrics::Aggregator::add ( float  value)
pure virtual
virtual nlohmann::json cpid::Cpid2kMetrics::Aggregator::value ( ) const
pure virtual

Member Data Documentation

std::string_view cpid::Cpid2kMetrics::Aggregator::type

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