Grail (C#)  1.2.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.SimulatedGames.DecisionTree.IDecisionStringSerializer< TDecisionType > Class Template Referenceabstract

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

Public Member Functions

abstract string Serialize (TDecisionType decision)
 Returns an exact representation of a decision as string. More...
 
abstract TDecisionType Deserialize (string decisionString)
 Deserializes a decision to exactly the same form as is serialized using the Serialize() method. More...
 

Detailed Description

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

Member Function Documentation

◆ Deserialize()

abstract TDecisionType Grail.SimulatedGames.DecisionTree.IDecisionStringSerializer< TDecisionType >.Deserialize ( string  decisionString)
pure virtual

Deserializes a decision to exactly the same form as is serialized using the Serialize() method.

◆ Serialize()

abstract string Grail.SimulatedGames.DecisionTree.IDecisionStringSerializer< TDecisionType >.Serialize ( TDecisionType  decision)
pure virtual

Returns an exact representation of a decision as string.


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