SparseImplementationLib Namespace Reference

SparseImplementationLib. More...


Classes

class  AbstractSparseNode
 AbstractSparseNode. More...
class  CollectSuccesorInformation
class  ConnectionProduct
class  ConstSparsePredecessorIterator
 SparsePredecessorIterator. More...
class  LayeredSparseImplementation
class  LayerWeightIterator
 LayerWeightIterator. More...
class  LayerWeightIteratorThreshold
class  NodeLinkCollectionFromSparseImplementation
class  ReverseImplementationException
class  ReversibleLayeredSparseImplementation
 ReversibleLayeredSparseImplementation. More...
class  ReversibleSparseNode
class  SetIncrementedId
class  SparseImplementation
struct  T_SparseImplementation
class  SparseImplementationAllocator
class  SparseImplementationTest
class  SparseLibException
 central SparseImplementationLib exception More...
class  SparseLibIteratorException
class  SparseLibTestOpenException
 SparseLibTestOpenException. More...
class  SparseNode
class  SparsePredecessorIterator
class  TestReverseImplementation

Typedefs

typedef AbstractSparseNode
< double, double > 
D_AbstractSparseNode
typedef
LayeredSparseImplementation
< SparseNode< double, double > > 
D_LayeredSparseImplementation
typedef
LayeredSparseImplementation
< SparseNode< float, float > > 
F_LayeredSparseImplementation
typedef
ReversibleLayeredSparseImplementation
< D_ReversibleSparseNode
D_LayeredReversibleSparseImplementation
typedef
ReversibleLayeredSparseImplementation
< F_ReversibleSparseNode
F_LayeredReversibleSparseImplementation
typedef ReversibleSparseNode
< double, double > 
D_ReversibleSparseNode
typedef ReversibleSparseNode
< float, float > 
F_ReversibleSparseNode
typedef SparseImplementation
< SparseNode< double, double > > 
D_SparseImplementation
typedef SparseImplementation
< ReversibleSparseNode< double,
double > > 
D_ReversibleSparseImplementation
typedef SparseImplementation
< SparseNode< float, float > > 
F_SparseImplementation
typedef SparseImplementation
< ReversibleSparseNode< float,
float > > 
F_ReversibleSparseImplementation
typedef SparseNode< double,
double > 
D_SparseNode
typedef SparseNode< float, float > F_SparseNode
typedef std::pair
< D_SparseNode *, double > 
D_Connection

Functions

template<class ActivityType, class WeightType>
ostream & operator<< (ostream &s, const AbstractSparseNode< ActivityType, WeightType > &node)
 All derived classes from AbstractSpareNode can use operator<<.
template<class ActivityType, class WeightType>
istream & operator>> (istream &, AbstractSparseNode< ActivityType, WeightType > &)
 All derived classes from AbstractSparseNode can use operator>>.
template<class ActivityType, class WeightType>
bool operator== (const AbstractSparseNode< ActivityType, WeightType > &, const AbstractSparseNode< ActivityType, WeightType > &)
template<class NodeValue, class WeightValue>
bool operator== (const AbstractSparseNode< NodeValue, WeightValue > &node, NodeId id)
template<class ActivityType, class WeightType>
ostream & operator<< (ostream &, const pair< AbstractSparseNode< ActivityType, WeightType > *, WeightType > &)
template<class NodeValue, class WeightValue>
ostream & operator<< (ostream &s, const pair< AbstractSparseNode< NodeValue, WeightValue > *, WeightValue > &connection)
template<class NodeType>
bool operator!= (const SparsePredecessorIterator< NodeType > &iter_left, const SparsePredecessorIterator< NodeType > &iter_right)
 operator!=
template<class NodeType>
bool operator!= (const ConstSparsePredecessorIterator< NodeType > &iter_left, const ConstSparsePredecessorIterator< NodeType > &iter_right)
 operator!=
template<class NodeType>
bool operator== (const ConstSparsePredecessorIterator< NodeType > &iter_left, const ConstSparsePredecessorIterator< NodeType > &iter_right)
 operator==
template<class NodeType>
Number operator- (const ConstSparsePredecessorIterator< NodeType > &iter_first, const ConstSparsePredecessorIterator< NodeType > &iter_second)
template<class NodeType>
bool operator!= (const LayerWeightIterator< NodeType > &iter_left, const LayerWeightIterator< NodeType > &iter_right)
template<class NodeType>
bool operator!= (const LayerWeightIteratorThreshold< NodeType > &iter_left, const LayerWeightIteratorThreshold< NodeType > &iter_right)
const string TAG_ABSTRACTNODE ("<AbstractNode>")
const string STR_LAYEREDIMPLEMENTATION_HEADER ("<LayeredImplementation>")
const string STR_SPARSEIMPLEMENTATION_TAG ("<SparseImplementation>")
const string STR_LAYEREDSPARSEIMPLEMENTATION_HEADER ("<LayeredSparseImplementation>")
const string STR_THRESHOLD_TAG ("<Threshold>")
const string STR_LAYERSTARTING_NODES_HEADER ("<StartLayerNodeIds>")
const string INVALID_WEIGHT ("Weight is NaN")
const string STR_INVALID_ACTIVATION ("Node activation is NaN")
const string STR_THRESHOLD_TAG_EXPECTED ("Threshold begin or end tag expected")
const string STR_NODE_PARSING_ERROR ("Couldn't parse node vector")
const string STRING_TESTIMPLEMENTATION_NOT_CREATED ("Failed to create test implementation")
const string STRING_PREDECESSOR_NOT_FOUND ("Couldn't locate myself in predecessor list of my successor")
const string OFFSET_ERROR ("Cast to SparseNode failed")
const string REVERSIBLE_CAST_FAILED ("Cast to ReversibleSparseNode failed")
const string TAG_REVERSIBLE ("<ReversibleNode>")
template<class NodeType>
ostream & operator<< (std::ostream &, const SparseImplementation< NodeType > &)
template<class NodeType>
istream & operator>> (std::istream &, SparseImplementation< NodeType > &)
template<class NodeType>
ostream & operator<< (ostream &s, const SparseImplementation< NodeType > &implementation)
bool SparseNodeCreationExample ()
 SparseNodeCreationExample.
template<class NodeType>
bool operator== (const SparsePredecessorIterator< NodeType > &iter_left, const SparsePredecessorIterator< NodeType > &iter_right)
 operator==
template<class NodeType>
Number operator- (const SparsePredecessorIterator< NodeType > &iter_first, const SparsePredecessorIterator< NodeType > &iter_second)
const string STR_IMPLEMENTATIONSTREAMING_TEST ("test_implementation.imp")
const string STR_IMPLEMENTATIONSTREAMING_TEST_COPY ("test_implementation_copy.imp")
const string STR_NODESTREAMING_TEST ("test_node.imp")
const string STR_TEST_DIR ("test/")
const string STR_IMPLEMENTATION_EXAMPLE ("SparseImplementationExample.collection")
template<class Implementation>
bool InsertTestWeightsWithoutThreshold (Implementation &implementation)
template<class Implementation>
bool InsertTestWeights (Implementation &implementation)

Variables

const double NO_WEIGHT = 0
const double F_WEIGHT_0_6 = -6
const double F_WEIGHT_0_7 = -7
const double F_WEIGHT_0_8 = -8
const double F_WEIGHT_0_9 = -9
const double F_WEIGHT_0_10 = -10
const double F_WEIGHT_1_6 = 101
const double F_WEIGHT_2_6 = 102
const double F_WEIGHT_3_6 = 103
const double F_WEIGHT_3_7 = 104
const double F_WEIGHT_3_8 = 105
const double F_WEIGHT_4_8 = 106
const double F_WEIGHT_5_8 = 107
const double F_WEIGHT_6_9 = 108
const double F_WEIGHT_7_9 = 109
const double F_WEIGHT_7_10 = 110
const double F_WEIGHT_8_10 = 111
const int NUMBER_OF_DYNAMIC_NODES = 10


Detailed Description

SparseImplementationLib.

Generated on Tue Mar 3 16:41:12 2009 by  doxygen 1.5.6