TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
|
Namespaces | |
detail | |
Classes | |
struct | Action |
struct | Bullet |
class | Frame |
class | FrameDiff |
struct | Map |
struct | Order |
class | Replayer |
struct | Resources |
struct | Unit |
struct | UnitCommand |
Functions | |
std::ostream & | operator<< (std::ostream &out, const Frame &o) |
std::istream & | operator>> (std::istream &in, Frame &o) |
std::ostream & | operator<< (std::ostream &out, const FrameDiff &o) |
std::istream & | operator>> (std::istream &in, FrameDiff &o) |
void | writeTail (std::ostream &out, const std::unordered_map< int32_t, std::vector< replayer::Action >> &actions, const std::unordered_map< int32_t, replayer::Resources > &resources, const std::vector< replayer::Bullet > &bullets) |
void | readTail (std::istream &in, std::unordered_map< int32_t, std::vector< replayer::Action >> &actions, std::unordered_map< int32_t, replayer::Resources > &resources, std::vector< replayer::Bullet > &bullets) |
FrameDiff | frame_diff (Frame &, Frame &) |
FrameDiff | frame_diff (Frame *, Frame *) |
Frame * | frame_undiff (FrameDiff *, Frame *) |
Frame * | frame_undiff (Frame *, FrameDiff *) |
void | frame_undiff (Frame *result, FrameDiff *, Frame *) |
void | frame_undiff (Frame *result, Frame *, FrameDiff *) |
Variables | |
const auto | packActionsOfPlayer |
const auto | packResourcesOfPlayer |
const auto | packBullet |
const auto | unpackAction |
const auto | unpackResources |
const auto | unpackBullet |
std::ostream& torchcraft::replayer::operator<< | ( | std::ostream & | out, |
const Frame & | o | ||
) |
std::ostream& torchcraft::replayer::operator<< | ( | std::ostream & | out, |
const FrameDiff & | o | ||
) |
std::istream& torchcraft::replayer::operator>> | ( | std::istream & | in, |
Frame & | o | ||
) |
std::istream& torchcraft::replayer::operator>> | ( | std::istream & | in, |
FrameDiff & | o | ||
) |
void torchcraft::replayer::readTail | ( | std::istream & | in, |
std::unordered_map< int32_t, std::vector< replayer::Action >> & | actions, | ||
std::unordered_map< int32_t, replayer::Resources > & | resources, | ||
std::vector< replayer::Bullet > & | bullets | ||
) |
void torchcraft::replayer::writeTail | ( | std::ostream & | out, |
const std::unordered_map< int32_t, std::vector< replayer::Action >> & | actions, | ||
const std::unordered_map< int32_t, replayer::Resources > & | resources, | ||
const std::vector< replayer::Bullet > & | bullets | ||
) |
const auto torchcraft::replayer::packActionsOfPlayer |
const auto torchcraft::replayer::packBullet |
const auto torchcraft::replayer::packResourcesOfPlayer |
const auto torchcraft::replayer::unpackAction |
const auto torchcraft::replayer::unpackBullet |
const auto torchcraft::replayer::unpackResources |