(C++)  1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::simulation::IDecisionBinarySerializer< TDecisionType > Struct Template Referenceabstract


#include <IDecisionSerializers.hh>

Public Member Functions

virtual void Serialize (const TDecisionType &decision, std::ostream &stream)=0
 Writes a binary serialization of a decision using the writer.
virtual std::unique_ptr< TDecisionType > Deserialize (std::istream &stream)=0
 Deserializes a decision to exactly the same form as is serialized using the Serialize() method.

Detailed Description

template<class TDecisionType>
struct grail::simulation::IDecisionBinarySerializer< TDecisionType >

A class that defines objects that can serialize decisions (e.g., actions in SimplifiedGame) to a binary format.

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