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

Try to fix the malformed UPCs. More...

#include <upcfilter.h>

Inherits cherrypi::UPCFilter.

Public Member Functions

virtual ~SanityFilter ()
 
bool filter (State *state, std::shared_ptr< UPCTuple > upc, Module *origin) override
 
- Public Member Functions inherited from cherrypi::UPCFilter
 UPCFilter ()
 
virtual ~UPCFilter ()
 

Detailed Description

Try to fix the malformed UPCs.

It does two checks:

Constructor & Destructor Documentation

virtual cherrypi::SanityFilter::~SanityFilter ( )
inlinevirtual

Member Function Documentation

bool cherrypi::SanityFilter::filter ( State state,
std::shared_ptr< UPCTuple upc,
Module origin 
)
overridevirtual

Implements cherrypi::UPCFilter.


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