emergent 8.5.1 WeightLimits Class Reference
emergent 8.5.1   Home · Wiki Docs For: WeightLimits · Emergent Help Browser 

WeightLimits Class Reference

specifies weight limits for connections

See for more info: Wiki Docs For: WeightLimits

 #include "ConSpec.h"

defined at: /mnt/ssd/grey/local/include/Emergent/ConSpec.h :23-59

Inherits From: SpecMemberBase, taOBase, taBase

Inherited By: WeightLimits*, WeightLimits&, const WeightLimits

Index: SubTypes, Members, Methods, Static Members, Static Methods, Expert Members, Expert Methods

Sub Types

SubType Documentation

enum WeightLimits::LimitType

WeightLimits::NONE0x00000000no weight limitations
WeightLimits::GT_MIN0x00000001constrain weights to be greater than min value
WeightLimits::LT_MAX0x00000002constrain weights to be less than max value
WeightLimits::MIN_MAX0x00000003constrain weights to be within min and max values

Regular (preferred) Member and Method Documentation


Member Category: _NoCategory


Method Category: ObjectMgmt

Method Category: UserData

Method Category: _NoCategory

Member Documentation

Member Category: _NoCategory

WeightLimits::max : float

maximum weight value (if applicable)

WeightLimits::min : float

minimum weight value (if applicable)

WeightLimits::sym : bool

if true, also symmetrize weights with those in reciprocal connections, during weight initialization process -- this is automatically turned off if the random variance (rnd.var) in the weights is set to 0 (e.g., for fixed weight patterns)

WeightLimits::sym_fm_top : bool

if symmetrizing, and this is true, then top-down weights end up driving the symmetrized weights -- otherwise the bottom-up end of driving (default)

WeightLimits::type : WeightLimits::LimitType

type of weight limitation to impose

Method Documentation

Method Category: ObjectMgmt

void SpecMemberBase::Defaults ( )

restore specs to their default original parameter values, for parameters that have a strong default value -- WARNING: you will lose any unique parameters for anything that has a strong default value

Show Source Code

Method Category: UserData

void taOBase::RemoveAllUserData ( )

get rid of our user data list entirely -- this is done automatically when saving something that has no user data items, but you can also force it with this method -- deletes the whole list

Show Source Code

Method Category: _NoCategory

void WeightLimits::ApplyLimits ( float& wt )

Show Source Code

void WeightLimits::ApplyMaxLimit ( float& wt )

Show Source Code

void WeightLimits::ApplyMinLimit ( float& wt )

Show Source Code

taBase* taOBase::GetOwner ( )

Show Source Code

TypeDef* WeightLimits::GetTypeDef ( )

Show Source Code

taSigLink** taOBase::addr_sig_link ( )

Show Source Code

Static Member and Method Documentation

Static Members

Static Methods

Static Method Documentation

Expert Member and Method Documentation

Expert Members

Expert Member Category: taBase

Expert Methods

Expert Method Category: UserData

Expert Member Documentation

Expert Member Category: taBase

taOBase::owner : taBase*

pointer to owner

taOBase::user_data_ : UserDataItem_List*

storage for user data (created if needed) DO NOT ACCESS this list directly -- use the GetUserData / SetUserData etc interface!

Expert Method Documentation

Expert Method Category: UserData

UserDataItem_List* taOBase::GetUserDataList ( bool force = false )

gets the userdatalist for this class

Show Source Code

Copyright © 2018Regents of the University of Colorado, Carnegie Mellon University, Princeton University.
emergent 8.5.1