grail (C  1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.Planning.ParametrizedObject Class Reference

The base class representing parametrized objects used by the planning algorithm More...

Inheritance diagram for Grail.Planning.ParametrizedObject:

Public Member Functions

void MergeParameters (ParametrizedObject other)
 
int GetParametersSize ()
 
Returns
The number of parameters assigned to this object

 
bool Contains (string name)
 
Returns
true if the object contains a parameter with the given name, false otherwise

 
void SetParameter< ParameterType > (string name, ParameterType value)
 
ParameterType GetParameterValue< ParameterType > (string name)
 
bool CollectionContains (string collectionName, int objectIndex)
 
void AddCollection (string collectionName)
 
SortedSet< int > GetCollection (string collectionName)
 
bool HasEqualParams (ParametrizedObject other)
 
void SerializeForGUI (Dictionary< string, string > state)
 

Protected Member Functions

 ParametrizedObject (ParametrizedObject other)
 

Protected Attributes

Dictionary< string, ObjectParameterparameters
 
Dictionary< string, SortedSet< int > > indexCollections
 

Detailed Description

The base class representing parametrized objects used by the planning algorithm


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