Grail (C++)
1.2.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
#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. | |
A class that defines objects that can serialize decisions (e.g., actions in SimplifiedGame) to a string.