📄 mainparameters.txt
字号:
struct MainParameters
Data structure for parameters of the learning runs with an RL system. Appropriate values can be assigned to its data members either directly or by running process(int argc, char* argv[]) function on the command-line arguments passed to main().
Synopsys: #include "main_init.h"
Public data members and format for command-line specification:
int Trials : Command-line format Trials=value
Number of learning trials in a run.
int Steps : Command-line format Steps=value
Maximum number of time steps in one learning trial.
int run : Command-line format run=value
Number of the learning run.
char* dir : Command-line format dir=value
Name of the directory where the learning history file and function approximator's parameters should be saved.
char* strFile : Command-line format str=value
Name of the file containing structural parameters of the function approximators (if necessary).
int TestFrequency : Command-line format tf=value
Frequency of policy evaluations for test purposes (in terms of the number of trials).
int TestStatesNumber : Command-line format tsn=value
Number of test states on which to evaluate policies during test trails.
int TestSamples : Command-line format ts=value
Number of sample trajectories to be collected from each test state for policy evaluations during test trials.
char* TestStatesFile : Command-line format tsf=value
Name of the text file containing test states for policy evaluation during test trials.
char* faFileName : Command-line format fa=value
Name of the text files (without extention) from which the parameters of the function approximators can be loaded if necessary. Files for approximators corresponding to each action should have the same name and extentions .am, where m is the action's ordinal number in the action set.
Public methods:
MainParameters()
Default constructor.
int process(int argc, char* argv[])
Processes command-line arguments and assigns appropriate values to the data members. See above for the format of argument specification in the command line.
~MainParameters()
Destructor
--------------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -