SimilarAttributeConnectionPredicate Class Reference

Predicate to test ConnectionDecisionPredicate based on SimObject Attributes. More...

#include <SimilarAttributeConnectionPredicate.h>

Inheritance diagram for SimilarAttributeConnectionPredicate:

Inheritance graph
[legend]
Collaboration diagram for SimilarAttributeConnectionPredicate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimilarAttributeConnectionPredicate (string attr, double C=1.0, double tol=0.0)
virtual bool decide (size_t src, size_t dst, RandomEngine *rnd)
 Return true if a uniform distributed random number is smaller than C * exp( -|px-py|^2 / lambda^2 ).


Detailed Description

Predicate to test ConnectionDecisionPredicate based on SimObject Attributes.

Definition at line 21 of file SimilarAttributeConnectionPredicate.h.


Constructor & Destructor Documentation

SimilarAttributeConnectionPredicate::SimilarAttributeConnectionPredicate ( string  attr,
double  C = 1.0,
double  tol = 0.0 
) [inline]

Definition at line 24 of file SimilarAttributeConnectionPredicate.h.


Member Function Documentation

virtual bool SimilarAttributeConnectionPredicate::decide ( size_t  src,
size_t  dst,
RandomEngine rnd 
) [inline, virtual]


The documentation for this class was generated from the following file:

Generated on Wed Jul 9 16:34:53 2008 for PCSIM by  doxygen 1.5.5