Unit Class Reference

#include <Unit.h>

List of all members.

Public Member Functions

 Unit (unit_list const *const units, const featurevector pos)
 Unit (unit_list const *const units, const featurevector pos, unsigned long id)
virtual ~Unit ()
UnitsplitUnit ()
double getShortTermError () const
void setShortTermError (double error)
double getLongTermError () const
void setLongTermError (double error)
void updateErrors (const featurevector *sample)
double getInsertionError () const
void setInsertionError (double error)
double getInsertionThreshold () const
void setInsertionThreshold (double threshold)
void updateInsertionThreshold ()
double getYouth () const
void setYouth (double youth)
void decreaseYouth ()
void decreaseInsertionThreshold ()
const featurevectorgetPosition () const
double getDistance (const featurevector *sample) const
void moveTowards (const featurevector *sample)
double getQualityLearning () const
double getQualityInsertion () const
double getLearningRate (bool isWinner) const
void calculateLocalSimilarity () const
double getLocalSimilarity () const
unsigned long getMetaId () const
void ageEdge (Unit *u)
void ageEdges ()
void addEdge (Unit *u)
void removeEdge (Unit *u)
void setEdgeAge (Unit *u, unsigned long age)
edge_map::size_type getEdgeCount () const
edge_mapgetEdges ()
string serialize () const
size_t unserialize (const featurevector &features, const string data)
bool operator< (Unit *u)
bool operator> (Unit *u)
bool operator!= (Unit *u)
bool operator== (Unit *u)

Static Public Member Functions

static size_t getNumMetaIds ()
static unsigned long getMaxMetaId ()
static void clearMetaIds ()
static void reserveMetaId (unsigned long meta_id)
static void releaseMetaId (unsigned long meta_id)


Detailed Description

Todo:
documentation


Constructor & Destructor Documentation

Unit::Unit unit_list const *const   units,
const featurevector  pos
 

Todo:
documentation

Unit::Unit unit_list const *const   units,
const featurevector  pos,
unsigned long  id
 

Todo:
documentation

Unit::~Unit  )  [virtual]
 

Destructor


Member Function Documentation

void Unit::addEdge Unit u  ) 
 

Todo:
documentation

void Unit::ageEdge Unit u  ) 
 

Todo:
documentation

void Unit::ageEdges  ) 
 

Todo:
documentation

void Unit::calculateLocalSimilarity  )  const
 

Todo:
documentation

void Unit::clearMetaIds  )  [static]
 

Todo:
documentation

void Unit::decreaseInsertionThreshold  ) 
 

Todo:
documentation

void Unit::decreaseYouth  ) 
 

Todo:
documentation

double Unit::getDistance const featurevector sample  )  const
 

Todo:
documentation

edge_map::size_type Unit::getEdgeCount  )  const
 

Todo:
documentation

edge_map * Unit::getEdges  ) 
 

Todo:
documentation

double Unit::getInsertionError  )  const
 

Todo:
documentation

double Unit::getInsertionThreshold  )  const
 

Todo:
documentation

double Unit::getLearningRate bool  isWinner  )  const
 

Todo:
documentation

double Unit::getLocalSimilarity  )  const
 

Todo:
documentation

double Unit::getLongTermError  )  const
 

Todo:
documentation

unsigned long Unit::getMaxMetaId  )  [static]
 

Todo:
documentation

unsigned long Unit::getMetaId  )  const
 

Todo:
documentation

size_t Unit::getNumMetaIds  )  [static]
 

Todo:
documentation

const featurevector * Unit::getPosition  )  const
 

Todo:
documentation

double Unit::getQualityInsertion  )  const
 

Todo:
documentation

double Unit::getQualityLearning  )  const
 

Todo:
documentation

double Unit::getShortTermError  )  const
 

Todo:
documentation

double Unit::getYouth  )  const
 

Todo:
documentation

void Unit::moveTowards const featurevector sample  ) 
 

Todo:
documentation

bool Unit::operator!= Unit u  )  [inline]
 

Todo:
documentation

bool Unit::operator< Unit u  ) 
 

Todo:
documentation

bool Unit::operator== Unit u  )  [inline]
 

Todo:
documentation

bool Unit::operator> Unit u  )  [inline]
 

Todo:
documentation

void Unit::releaseMetaId unsigned long  meta_id  )  [static]
 

Todo:
documentation

void Unit::removeEdge Unit u  ) 
 

Todo:
documentation

void Unit::reserveMetaId unsigned long  meta_id  )  [static]
 

Todo:
documentation

string Unit::serialize  )  const
 

Todo:
documentation

void Unit::setEdgeAge Unit u,
unsigned long  age
 

Todo:
documentation

void Unit::setInsertionError double  error  ) 
 

Todo:
documentation

void Unit::setInsertionThreshold double  threshold  ) 
 

Todo:
documentation

void Unit::setLongTermError double  error  ) 
 

Todo:
documentation

void Unit::setShortTermError double  error  ) 
 

Todo:
documentation

void Unit::setYouth double  youth  ) 
 

Todo:
documentation

Unit * Unit::splitUnit  ) 
 

Todo:
documentation

size_t Unit::unserialize const featurevector features,
const string  data
 

Todo:
documentation

void Unit::updateErrors const featurevector sample  ) 
 

Todo:
documentation

void Unit::updateInsertionThreshold  ) 
 

Todo:
documentation


The documentation for this class was generated from the following files:
Generated on Mon Jun 5 10:20:50 2006 for Intelligence.kdevelop by  doxygen 1.4.6