MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.gym.Observation Class Reference

The Observation contains data describing the Gym as it runs. More...

Public Member Functions

 Observation (Bitmap imgDisp, Bitmap img, bool bRequireDisplayImg, double[] rgState, double dfReward, bool bDone)
 The constructor. More...
 
Observation Clone ()
 Returns a copy of the Observation. More...
 

Properties

double[] State [getset]
 Get/set the state data. More...
 
Bitmap Image [getset]
 Get/set the action image, if it exists. More...
 
Bitmap ImageDisplay [getset]
 Get/set the image to display. More...
 
bool RequireDisplayImage [getset]
 Get/set whether or not the image for display (ImageDisplay) is required. More...
 
double Reward [getset]
 Get/set the reward. More...
 
bool Done [getset]
 Get/set the done state. More...
 

Detailed Description

The Observation contains data describing the Gym as it runs.

Definition at line 68 of file IMyCaffeGymUiService.cs.

Constructor & Destructor Documentation

◆ Observation()

MyCaffe.gym.Observation.Observation ( Bitmap  imgDisp,
Bitmap  img,
bool  bRequireDisplayImg,
double[]  rgState,
double  dfReward,
bool  bDone 
)

The constructor.

Parameters
imgDispSpecifies the display image.
imgOptionally, specifies the action image.
bRequireDisplayImgSpecifies whether a display image is required.
rgStateSpecifies state data of the Gym.
dfRewardSpecifies the reward.
bDoneSpecifies the done state of the Gym.

Definition at line 86 of file IMyCaffeGymUiService.cs.

Member Function Documentation

◆ Clone()

Observation MyCaffe.gym.Observation.Clone ( )

Returns a copy of the Observation.

Returns
The Observation copy is returned.

Definition at line 100 of file IMyCaffeGymUiService.cs.

Property Documentation

◆ Done

bool MyCaffe.gym.Observation.Done
getset

Get/set the done state.

Definition at line 164 of file IMyCaffeGymUiService.cs.

◆ Image

Bitmap MyCaffe.gym.Observation.Image
getset

Get/set the action image, if it exists.

Definition at line 124 of file IMyCaffeGymUiService.cs.

◆ ImageDisplay

Bitmap MyCaffe.gym.Observation.ImageDisplay
getset

Get/set the image to display.

Definition at line 134 of file IMyCaffeGymUiService.cs.

◆ RequireDisplayImage

bool MyCaffe.gym.Observation.RequireDisplayImage
getset

Get/set whether or not the image for display (ImageDisplay) is required.

Definition at line 144 of file IMyCaffeGymUiService.cs.

◆ Reward

double MyCaffe.gym.Observation.Reward
getset

Get/set the reward.

Definition at line 154 of file IMyCaffeGymUiService.cs.

◆ State

double [] MyCaffe.gym.Observation.State
getset

Get/set the state data.

Definition at line 114 of file IMyCaffeGymUiService.cs.


The documentation for this class was generated from the following file: