00001 00011 #ifndef CONNECTIONDECISIONPREDICATE_H 00012 #define CONNECTIONDECISIONPREDICATE_H 00013 00014 #include "SimObjectPopulation.h" 00015 00017 00020 class ConnectionDecisionPredicate { 00021 00022 public: 00023 00025 00029 virtual void init( SimObjectPopulation const& src, SimObjectPopulation const& dst, RandomEngine *rnd ) = 0; 00030 00032 00039 virtual bool decide( size_t src, size_t dst, RandomEngine *rnd ) = 0; 00040 00042 virtual ~ConnectionDecisionPredicate() { /* NOOP */ }; 00043 00044 }; 00045 00046 #endif