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


#include <IDecisionSerializers.hh>

Public Member Functions

virtual std::string Serialize (const TDecisionType &decision)=0
 Returns an exact representation of a decision as string.
virtual std::unique_ptr< TDecisionType > Deserialize (std::string decisionString)=0
 Deserializes a decision to exactly the same form as is serialized using the Serialize() method.

Detailed Description

template<class TDecisionType>
class grail::simulation::IDecisionStringSerializer< TDecisionType >

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

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