MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The MyCaffeGymUiService provides the service used to show the Gym visualizations. More...
Public Member Functions | |
MyCaffeGymUiService () | |
The constructor. More... | |
void | CloseUi (int nId) |
Close the user interface of a Gym. More... | |
int | OpenUi (string strName, int nId, bool bStartRecording=false) |
Open the Gym user interface. More... | |
void | Render (int nId, Observation obs) |
Render an observation on the Gym user-interface. More... | |
bool | IsOpen (int nId) |
Returns true when the visualization is open, false otherwise. More... | |
The MyCaffeGymUiService provides the service used to show the Gym visualizations.
Definition at line 14 of file MyCaffeGymUiService.cs.
MyCaffe.gym.MyCaffeGymUiService.MyCaffeGymUiService | ( | ) |
The constructor.
Definition at line 23 of file MyCaffeGymUiService.cs.
void MyCaffe.gym.MyCaffeGymUiService.CloseUi | ( | int | nId | ) |
Close the user interface of a Gym.
nId | Specifies the Gym id (used when multiple Gym's of the same name are used). |
Implements MyCaffe.gym.IXMyCaffeGymUiService.
Definition at line 41 of file MyCaffeGymUiService.cs.
bool MyCaffe.gym.MyCaffeGymUiService.IsOpen | ( | int | nId | ) |
Returns true when the visualization is open, false otherwise.
nId | Specifies the Gym ID. |
Implements MyCaffe.gym.IXMyCaffeGymUiService.
Definition at line 110 of file MyCaffeGymUiService.cs.
int MyCaffe.gym.MyCaffeGymUiService.OpenUi | ( | string | strName, |
int | nId, | ||
bool | bStartRecording = false |
||
) |
Open the Gym user interface.
strName | Specifies the Gym name. |
nId | Specifies the ID of the Gym. |
bStartRecording | Optionally, specifies to open with recording on. |
Implements MyCaffe.gym.IXMyCaffeGymUiService.
Definition at line 62 of file MyCaffeGymUiService.cs.
void MyCaffe.gym.MyCaffeGymUiService.Render | ( | int | nId, |
Observation | obs | ||
) |
Render an observation on the Gym user-interface.
nId | Specifies the Gym ID. |
obs | Specifies the Observation to visualize. |
Implements MyCaffe.gym.IXMyCaffeGymUiService.
Definition at line 89 of file MyCaffeGymUiService.cs.