verve::TDProjection Class Reference

A Projection of TDConnections. More...

#include <TDProjection.h>

Inheritance diagram for verve::TDProjection:

verve::Projection List of all members.

Public Member Functions

VERVE_DECL TDProjection (TDConnectionType type)
virtual VERVE_DECL ~TDProjection ()
virtual VERVE_DECL void VERVE_CALL setETraceDecayFactor (real value)
virtual VERVE_DECL void VERVE_CALL setTDDiscountFactor (real value)

Protected Member Functions

virtual void connectNeurons (Neuron *neuron1, Neuron *neuron2)

Protected Attributes

TDConnectionType mTDConnectionType
real mETraceDecayFactor
real mTDDiscountFactor

Detailed Description

A Projection of TDConnections.

Definition at line 35 of file TDProjection.h.


Constructor & Destructor Documentation

verve::TDProjection::TDProjection TDConnectionType  type  ) 
 

Definition at line 29 of file TDProjection.cpp.

References mETraceDecayFactor, mTDConnectionType, and mTDDiscountFactor.

verve::TDProjection::~TDProjection  )  [virtual]
 

Definition at line 37 of file TDProjection.cpp.


Member Function Documentation

void verve::TDProjection::connectNeurons Neuron neuron1,
Neuron neuron2
[protected, virtual]
 

Overridden.

Besides the things described in the base class, this function sets the new TDConnection's ETraceUpdateMethod, eligibility trace decay factor, and TD discount factor.

Reimplemented from verve::Projection.

Definition at line 69 of file TDProjection.cpp.

References verve::Neuron::addAxon(), verve::Neuron::addDendrite(), verve::Projection::mConnections, mETraceDecayFactor, mTDConnectionType, mTDDiscountFactor, verve::TDConnection::setETraceDecayFactor(), and verve::TDConnection::setTDDiscountFactor().

void verve::TDProjection::setETraceDecayFactor real  value  )  [virtual]
 

Sets the factor that determines how fast the eligibility trace decays for all Connections.

Definition at line 41 of file TDProjection.cpp.

References verve::Projection::mConnections, and mETraceDecayFactor.

void verve::TDProjection::setTDDiscountFactor real  value  )  [virtual]
 

Sets the factor for all Connections that determines how much future rewards are discounted.

Definition at line 55 of file TDProjection.cpp.

References verve::Projection::mConnections, and mTDDiscountFactor.


Member Data Documentation

real verve::TDProjection::mETraceDecayFactor [protected]
 

Determines how fast eligibility traces decay.

Definition at line 61 of file TDProjection.h.

Referenced by connectNeurons(), setETraceDecayFactor(), and TDProjection().

TDConnectionType verve::TDProjection::mTDConnectionType [protected]
 

The type of TDConnections to use.

Definition at line 58 of file TDProjection.h.

Referenced by connectNeurons(), and TDProjection().

real verve::TDProjection::mTDDiscountFactor [protected]
 

Determines how much future rewards are discounted.

Definition at line 64 of file TDProjection.h.

Referenced by connectNeurons(), setTDDiscountFactor(), and TDProjection().


The documentation for this class was generated from the following files:
Generated on Tue Jan 24 21:46:39 2006 for Verve by  doxygen 1.4.6-NO