Neodroid  0.2.0
Machine Learning Environment Prototyping Tool
droid.Runtime.Prototyping.Evaluation.ObjectiveFunction Class Referenceabstract

More...

Inheritance diagram for droid.Runtime.Prototyping.Evaluation.ObjectiveFunction:
Collaboration diagram for droid.Runtime.Prototyping.Evaluation.ObjectiveFunction:

Public Member Functions

float Evaluate ()
 
void EnvironmentReset ()
 
void SignalString (DataPoller recipient)
 
abstract float InternalEvaluate ()
 
abstract void InternalReset ()
 
- Public Member Functions inherited from droid.Runtime.Utilities.GameObjects.PrototypingGameObject
void RefreshStart ()
 
void RefreshAwake ()
 

Public Attributes

float _Episode_Return
 

Protected Member Functions

override void Clear ()
 
sealed override void Setup ()
 
virtual void PostSetup ()
 
override void RegisterComponent ()
 
override void UnRegisterComponent ()
 
- Protected Member Functions inherited from droid.Runtime.Utilities.GameObjects.PrototypingGameObject
void Start ()
 
void Awake ()
 

Protected Attributes

float _solved_reward = 1.0f
 
float _default_reward = -0.001f
 
- Protected Attributes inherited from droid.Runtime.Utilities.GameObjects.PrototypingGameObject
string _Custom_Name = ""
 

Properties

override String PrototypingTypeName [get]
 
AbstractPrototypingEnvironment ParentEnvironment [get, set]
 
float SolvedThreshold [get, set]
 
int EpisodeLength [get, set]
 
Space1 SignalSpace [get, set]
 
- Properties inherited from droid.Runtime.Utilities.GameObjects.PrototypingGameObject
virtual string PrototypingTypeName [get]
 
string Identifier [get]
 
- Properties inherited from droid.Runtime.Interfaces.IRegisterable
string Identifier [get]
 
- Properties inherited from droid.Runtime.Interfaces.IObjective
float SolvedThreshold [get, set]
 Specify an signal value for which the objective is considered solved More...
 
int EpisodeLength [get, set]
 The length of an episode More...
 
Space1 SignalSpace [get, set]
 The range for which the signal might fall More...
 

Detailed Description

Definition at line 15 of file ObjectiveFunction.cs.

Member Function Documentation

◆ Clear()

override void droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.Clear ( )
protectedvirtual

◆ EnvironmentReset()

void droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.EnvironmentReset ( )

Reset for function for resetting stateful evaluation functions

Implements droid.Runtime.Interfaces.IObjective.

Definition at line 147 of file ObjectiveFunction.cs.

◆ Evaluate()

float droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.Evaluate ( )

Compute signal

Returns

Implements droid.Runtime.Interfaces.IObjective.

Definition at line 112 of file ObjectiveFunction.cs.

◆ InternalEvaluate()

◆ InternalReset()

◆ PostSetup()

◆ RegisterComponent()

override void droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.RegisterComponent ( )
protectedvirtual

◆ Setup()

sealed override void droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.Setup ( )
protectedvirtual

◆ SignalString()

void droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.SignalString ( DataPoller  recipient)

Returns

Definition at line 184 of file ObjectiveFunction.cs.

◆ UnRegisterComponent()

override void droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.UnRegisterComponent ( )
protectedvirtual

Member Data Documentation

◆ _default_reward

float droid.Runtime.Prototyping.Evaluation.ObjectiveFunction._default_reward = -0.001f
protected

Definition at line 32 of file ObjectiveFunction.cs.

◆ _Episode_Return

float droid.Runtime.Prototyping.Evaluation.ObjectiveFunction._Episode_Return

Definition at line 37 of file ObjectiveFunction.cs.

◆ _solved_reward

float droid.Runtime.Prototyping.Evaluation.ObjectiveFunction._solved_reward = 1.0f
protected

Definition at line 22 of file ObjectiveFunction.cs.

Property Documentation

◆ EpisodeLength

int droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.EpisodeLength
getset

Definition at line 269 of file ObjectiveFunction.cs.

◆ ParentEnvironment

AbstractPrototypingEnvironment droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.ParentEnvironment
getset

Definition at line 46 of file ObjectiveFunction.cs.

◆ PrototypingTypeName

override String droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.PrototypingTypeName
get

Definition at line 42 of file ObjectiveFunction.cs.

◆ SignalSpace

Space1 droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.SignalSpace
getset

Definition at line 274 of file ObjectiveFunction.cs.

◆ SolvedThreshold

float droid.Runtime.Prototyping.Evaluation.ObjectiveFunction.SolvedThreshold
getset

Definition at line 103 of file ObjectiveFunction.cs.


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