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

The State contains the current state of the gym. More...

Public Member Functions

 CurrentState (double[] rgData, double dfReward, bool bTerminal, State gymState=null)
 The constructor. More...
 

Properties

SimpleDatum Data [get]
 Returns the data. More...
 
double Reward [get]
 Returns the reward. More...
 
bool Terminal [get]
 Returns whether or not the state is terminal or not. More...
 
State GymState [get]
 Returns the GymState if provided. More...
 

Detailed Description

The State contains the current state of the gym.

Definition at line 627 of file MyCaffePythonGym.cs.

Constructor & Destructor Documentation

◆ CurrentState()

MyCaffe.gym.python.CurrentState.CurrentState ( double[]  rgData,
double  dfReward,
bool  bTerminal,
State  gymState = null 
)

The constructor.

Parameters
rgDataSpecifies the data.
dfRewardSpecifies the reward.
bTerminalSpecifies whether or not the state is terminal.
gymStateOptionally, specifies the gym state.

Definition at line 641 of file MyCaffePythonGym.cs.

Property Documentation

◆ Data

SimpleDatum MyCaffe.gym.python.CurrentState.Data
get

Returns the data.

Definition at line 652 of file MyCaffePythonGym.cs.

◆ GymState

State MyCaffe.gym.python.CurrentState.GymState
get

Returns the GymState if provided.

Definition at line 676 of file MyCaffePythonGym.cs.

◆ Reward

double MyCaffe.gym.python.CurrentState.Reward
get

Returns the reward.

Definition at line 660 of file MyCaffePythonGym.cs.

◆ Terminal

bool MyCaffe.gym.python.CurrentState.Terminal
get

Returns whether or not the state is terminal or not.

Definition at line 668 of file MyCaffePythonGym.cs.


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