ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DiffusionRate Class Reference

#include <diff_rate.h>

Inheritance diagram for DiffusionRate:

DiffusionAgent Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 DiffusionRate ()
void recv (Packet *, Handler *)
int command (int argc, const char *const *argv)

Protected Member Functions

void reset ()
void consider_old (Packet *)
void consider_new (Packet *)
void Start ()
void DataReqAll (unsigned int dtype, int report_rate)
void Print_IOlist ()
void FwdData (Packet *)
void PosReinf (int dtype, nsaddr_t to_node, ns_addr_t info_sender, unsigned int info_seq)
void ProcessPosReinf (Packet *pkt)
void ProcessNegReinf (Packet *pkt)
void UcastNeg (int dtype, ns_addr_t to)
void BcastNeg (int dtype)
void GenNeg (int dtype)
void InterestHandle (Packet *pkt)
void GradientTimeOut ()
void NegReinfTimeOut ()
void CheckNegCounter (int dtype)
bool FwdSubsample (Packet *pkt)
void FwdOriginal (Packet *pkt)
void TriggerPosReinf (Packet *pkt, ns_addr_t forward_agent)

Protected Attributes

bool DUP_SUP_
sub_t sub_type_
org_t org_type_
pos_t pos_type_
pos_ndt pos_node_type_
neg_wint neg_win_type_
neg_tht neg_thr_type_
neg_mxt neg_max_type_
Data_Hash_Table DataTable
int num_not_send_bcast_data
int num_data_bcast_send
int num_data_bcast_rcv
int num_neg_bcast_send
int num_neg_bcast_rcv


class GradientTimer
class NegativeReinforceTimer

Constructor & Destructor Documentation


Member Function Documentation

void DiffusionRate::BcastNeg int    dtype [protected]

void DiffusionRate::CheckNegCounter int    dtype [protected]

int DiffusionRate::command int    argc,
const char *const *    argv

Reimplemented from DiffusionAgent.

void DiffusionRate::consider_new Packet   [protected]

Reimplemented from DiffusionAgent.

void DiffusionRate::consider_old Packet   [protected]

Reimplemented from DiffusionAgent.

void DiffusionRate::DataReqAll unsigned int    dtype,
int    report_rate

void DiffusionRate::FwdData Packet   [protected]

void DiffusionRate::FwdOriginal Packet   pkt [protected]

bool DiffusionRate::FwdSubsample Packet   pkt [protected]

void DiffusionRate::GenNeg int    dtype [protected]

void DiffusionRate::GradientTimeOut   [protected]

void DiffusionRate::InterestHandle Packet   pkt [protected]

void DiffusionRate::NegReinfTimeOut   [protected]

void DiffusionRate::PosReinf int    dtype,
nsaddr_t    to_node,
ns_addr_t    info_sender,
unsigned int    info_seq

void DiffusionRate::Print_IOlist   [protected, virtual]

Reimplemented from DiffusionAgent.

void DiffusionRate::ProcessNegReinf Packet   pkt [protected]

void DiffusionRate::ProcessPosReinf Packet   pkt [protected]

void DiffusionRate::recv Packet  ,

Reimplemented from DiffusionAgent.

void DiffusionRate::reset   [protected, virtual]

Reimplemented from DiffusionAgent.

void DiffusionRate::Start   [protected, virtual]

Reimplemented from DiffusionAgent.

void DiffusionRate::TriggerPosReinf Packet   pkt,
ns_addr_t    forward_agent

void DiffusionRate::UcastNeg int    dtype,
ns_addr_t    to

Friends And Related Function Documentation

friend class GradientTimer [friend]

friend class NegativeReinforceTimer [friend]

Member Data Documentation

Data_Hash_Table DiffusionRate::DataTable [protected]

bool DiffusionRate::DUP_SUP_ [protected]

GradientTimer* DiffusionRate::gradient_timer [protected]

neg_mxt DiffusionRate::neg_max_type_ [protected]

NegativeReinforceTimer* DiffusionRate::neg_reinf_timer [protected]

neg_tht DiffusionRate::neg_thr_type_ [protected]

neg_wint DiffusionRate::neg_win_type_ [protected]

int DiffusionRate::num_data_bcast_rcv [protected]

int DiffusionRate::num_data_bcast_send [protected]

int DiffusionRate::num_neg_bcast_rcv [protected]

int DiffusionRate::num_neg_bcast_send [protected]

int DiffusionRate::num_not_send_bcast_data [protected]

org_t DiffusionRate::org_type_ [protected]

pos_ndt DiffusionRate::pos_node_type_ [protected]

pos_t DiffusionRate::pos_type_ [protected]

sub_t DiffusionRate::sub_type_ [protected]

The documentation for this class was generated from the following files:
This document is generated by doxygen.