AnyLogic
Expand
Font size

Interface ReinforcementLearningModel<ROOT extends Agent,O,A,C>

All Known Implementing Classes:
ExperimentReinforcementLearning

public interface ReinforcementLearningModel<ROOT extends Agent,O,A,C>

Method Summary

Modifier and TypeMethodDescription
ROOTcreateModel()
Is called to obtain a new pre-initialized top-level agent.
ReinforcementLearningDataAccessor<ROOT,O,A,C>getDataAccessor()
This method must be defined in a subclass

Method Details

createModel

ROOT createModel()
Is called to obtain a new pre-initialized top-level agent. This method must be defined in a subclass. Note that the top-level agent should just be constructed in this method, as its create() and start() methods will be called later on.
This method should not be used to define parameters
Parameters:
engine - the simulation engine that will simulate the model

getDataAccessor

ReinforcementLearningDataAccessor<ROOT,O,A,C> getDataAccessor()
This method must be defined in a subclass