Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CangelosiNet Class Reference

Temporary network object representing the 2-dimensional cell space used by CangelosiEncoding. More...

#include <cangelosinet.h>

Inheritance diagram for CangelosiNet:

NolfiNet List of all members.

Public Methods

 CangelosiNet (int inputs, int maxhidden, int outputs, double xsize, double ysize, double tipRadius, double axonScale)
void rewrite (const Array< CangCellDescr > &rules, int cycles=5)

Protected Methods

void makeMother ()

Detailed Description

Temporary network object representing the 2-dimensional cell space used by CangelosiEncoding.

This is otherwise same as the parent class NolfiNet, except that the cells in the cell space are generated using an iterated rewriting process.

Definition at line 149 of file cangelosinet.h.


Constructor & Destructor Documentation

CangelosiNet int    inputs,
int    maxhidden,
int    outputs,
double    xsize,
double    ysize,
double    tipRadius,
double    axonScale
 

Constructor for the cell space.

See the constructor of the parent class NolfiNet for description of the parameters.

Definition at line 241 of file cangelosi.cc.

References makeMother().


Member Function Documentation

void makeMother   [protected]
 

Creates the mother cell in the middle of the cell space.

The cell space should be empty when this is called.

Definition at line 246 of file cangelosi.cc.

Referenced by CangelosiNet().

void rewrite const Array< CangCellDescr > &    rules,
int    cycles = 5
 

Rewrites all the cells in the cell space for a specified number of iterations.

Typically just the mother cell exists in the cell space when this is called.

Parameters:
rules  Rules, indexed by the left-hand-side value * 2. The right-hand-side value for rule n is pair (n*2, n*2+1).
cycles  Number of rewriting cycles.

Definition at line 255 of file cangelosi.cc.

References NolfiCell::mTypeID.

Referenced by CangelosiEncoding::execute().


The documentation for this class was generated from the following files:
Generated on Thu Feb 10 20:21:26 2005 for Annalee by doxygen1.2.18