SmartEngine  1.6.0
Public Member Functions | List of all members
SmartEngine::IAgentFactory Class Referenceabstract

RL trainers implement this to create agents. More...

#include <Agent.h>

Inheritance diagram for SmartEngine::IAgentFactory:
SmartEngine::IObject SmartEngine::IGeneticAgentTrainer SmartEngine::IRLTrainer SmartEngine::IA2CTrainer SmartEngine::ID4PGTrainer SmartEngine::IPPOTrainer

Public Member Functions

virtual ObjectPtr< IAgentCreateAgent ()=0
 Creates an agent for a particular trainer. More...
 
- Public Member Functions inherited from SmartEngine::IObject
virtual ObjectId GetId () const =0
 Returns the ID of this object. More...
 
virtual void AddRef () const =0
 Increments the internal reference count on this object. It is not common to use this method directly. More...
 
virtual void Release () const =0
 Decrements the internal reference count on this object. It is not common to use this method directly. More...
 
virtual int GetRefCount () const =0
 Returns the number of references to this object. More...
 
virtual void * QueryInterface (ObjectClassId id)=0
 Queries the object for an interface and returns a pointer to that interface if found. More...
 
void operator= (IObject const &x)=delete
 

Additional Inherited Members

- Public Attributes inherited from SmartEngine::IObject
 private
 
 __pad0__: IObject() {} IObject(IObject const&) = delete
 

Detailed Description

RL trainers implement this to create agents.

Member Function Documentation

◆ CreateAgent()

virtual ObjectPtr<IAgent> SmartEngine::IAgentFactory::CreateAgent ( )
pure virtual

Creates an agent for a particular trainer.

Returns