Responsible for producing contexts and instances of data used by UtilityReasoner.
More...
|
delegate List< ContextType > | ContextProducerDelegate (in DataType data) |
|
delegate InstanceType | InstanceProducerDelegate (in ContextType context) |
|
| Prefab (string name, ContextProducerDelegate contextProducer, InstanceProducerDelegate instanceProducer) |
| Contructor More...
|
|
List< ContextType > | ProduceContexts (in DataType data) |
|
InstanceType | ProduceInstance (in ContextType context) |
|
Responsible for producing contexts and instances of data used by UtilityReasoner.
- Template Parameters
-
InstanceType | |
ContextType | |
DataType | |
◆ Prefab()
Grail.Prefab< InstanceType, ContextType, DataType >.Prefab |
( |
string |
name, |
|
|
ContextProducerDelegate |
contextProducer, |
|
|
InstanceProducerDelegate |
instanceProducer |
|
) |
| |
|
inline |
Contructor
- Parameters
-
name | name of the prefab |
contextProducer | delegate responsible for producing vector of contexts |
instanceProducer | delegate responsible for producing instance of data based on provided context |
The documentation for this class was generated from the following file:
- GrailUtilityAI/source/UtilitySystem/Prefab.cs