DDECluster Class Reference

DDECluster Class. In this cluster the input/output relation is governed by a Discrete Differential Equation. More...

Inheritance diagram for DDECluster:

Inheritance graph
[legend]
Collaboration diagram for DDECluster:

Collaboration graph
[legend]
List of all members.

Constructors

 DDECluster (const RealVec &coeff, u_int numNeurons, const char *name="unnamed")
 DDECluster (PropertySettings &prop)
virtual ~DDECluster ()

Interface

void setCoeff (const RealVec &coef)
const RealVecgetCoeff ()
bool setCoeff (const Variant &)
Variant getCoeffP ()
void update ()
void randomize (Real, Real)
virtual DDEClusterclone () const

Detailed Description

Motivation
Create a Cluster where the outputs dependes on previous value, or in other words on derivative of outputs
Description
This Cluster calculate the outputs accordlying with follow equation:
y(t) <- a0 + a1*f(x) + a2*x(t) + a3*y(t-1) + a4*y'(t-1) + a5*y''(t-1) + a6*y'''(t-1) + ...
Note: L'attivazione delta alla 'Stefano' e' possibile ottenerla configurando i coefficienti nel seguente modo:
a0 <- 0.0 ; a1 <- delta ; a2 <- 0.0 ; a3 <- 1.0-delta
ottenendo:
y(t) <- (delta)*f(x) + (1.0-delta)*y(t-1)
Warnings
Properties
Name Type [isVector] Access mode Description Class
typename string read-only Class's type Propertized
name string read/write name of the object Updatable
accumulate boolean read/write if inputs are accumulated Cluster
inputs RealVec read/write neuron's input Cluster
outfunction OutputFunction read/write neuron's output function Cluster
outputs RealVec read/write neuron's output Cluster
size unsigned int read-only number of neurons Cluster
coeff RealVec read/write equation's coefficients this


Constructor & Destructor Documentation

DDECluster ( const RealVec coeff,
u_int  numNeurons,
const char *  name = "unnamed" 
)

Construct a DDECluster setting coefficients as specified

DDECluster ( PropertySettings prop  ) 

Construct by PropertySettings

virtual ~DDECluster (  )  [virtual]

Destructor


Member Function Documentation

void setCoeff ( const RealVec coef  ) 

Set the coeffiecients

const RealVec& getCoeff (  )  [inline]

Return coeffiecients

bool setCoeff ( const Variant  ) 

Set Coefficeients (Variant version)

Variant getCoeffP (  ) 

Return coeffiecients (Variant version)

void update (  )  [virtual]

Update the outputs of neurons

Implements Updatable.

void randomize ( Real  ,
Real   
) [inline, virtual]

Randomize Nothing ;-)

Implements Cluster.

virtual DDECluster* clone (  )  const [virtual]

Clone this DDECluster

Reimplemented from Cluster.


The documentation for this class was generated from the following file:
BerliOS Developer Logo Valid XHTML 1.0 Transitional Valid CSS!