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

Removes units from an UPC that are allocated to high-priority tasks. More...

#include <upcfilter.h>

Inherits cherrypi::UPCFilter.

Public Member Functions

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

Detailed Description

Removes units from an UPC that are allocated to high-priority tasks.

Constructor & Destructor Documentation

virtual cherrypi::AssignedUnitsFilter::~AssignedUnitsFilter ( )
inlinevirtual

Member Function Documentation

bool cherrypi::AssignedUnitsFilter::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: