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

More...

#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::simgames::dt::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 file: