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

Decribes a specific feature within FeatureData. More...

#include <features.h>

Public Member Functions

 FeatureDescriptor ()
 
 FeatureDescriptor (PlainFeatureType type, std::string name, int numChannels)
 
 FeatureDescriptor (CustomFeatureType type, std::string name, int numChannels)
 
 FeatureDescriptor (FeatureDescriptor const &other)
 
 FeatureDescriptor (FeatureDescriptor &&other)
 
 ~FeatureDescriptor ()=default
 
FeatureDescriptoroperator= (FeatureDescriptor const &other)
 
FeatureDescriptoroperator= (FeatureDescriptor &&other)
 
bool operator== (FeatureDescriptor const &other) const
 
template<typename Archive >
void save (Archive &ar) const
 
template<typename Archive >
void load (Archive &ar)
 

Public Attributes

AnyFeatureType type
 
std::string name
 
int numChannels
 

Detailed Description

Decribes a specific feature within FeatureData.

Constructor & Destructor Documentation

cherrypi::FeatureDescriptor::FeatureDescriptor ( )
inline
cherrypi::FeatureDescriptor::FeatureDescriptor ( PlainFeatureType  type,
std::string  name,
int  numChannels 
)
inline
cherrypi::FeatureDescriptor::FeatureDescriptor ( CustomFeatureType  type,
std::string  name,
int  numChannels 
)
inline
cherrypi::FeatureDescriptor::FeatureDescriptor ( FeatureDescriptor const &  other)
inline
cherrypi::FeatureDescriptor::FeatureDescriptor ( FeatureDescriptor &&  other)
inline
cherrypi::FeatureDescriptor::~FeatureDescriptor ( )
default

Member Function Documentation

template<typename Archive >
void cherrypi::FeatureDescriptor::load ( Archive &  ar)
inline
FeatureDescriptor& cherrypi::FeatureDescriptor::operator= ( FeatureDescriptor const &  other)
inline
FeatureDescriptor& cherrypi::FeatureDescriptor::operator= ( FeatureDescriptor &&  other)
inline
bool cherrypi::FeatureDescriptor::operator== ( FeatureDescriptor const &  other) const
template<typename Archive >
void cherrypi::FeatureDescriptor::save ( Archive &  ar) const
inline

Member Data Documentation

std::string cherrypi::FeatureDescriptor::name
int cherrypi::FeatureDescriptor::numChannels
AnyFeatureType cherrypi::FeatureDescriptor::type

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