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  

ns-2/diffusion/diff_rate.h File Reference

#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <signal.h>
#include <float.h>
#include <stdlib.h>
#include <tcl.h>
#include "diff_header.h"
#include "agent.h"
#include "tclcl.h"
#include "ip.h"
#include "config.h"
#include "packet.h"
#include "trace.h"
#include "random.h"
#include "classifier.h"
#include "node.h"
#include "iflist.h"
#include "hash_table.h"
#include "arp.h"
#include "mac.h"
#include "ll.h"
#include "dsr/path.h"

Compounds

class  DiffusionRate
class  GradientTimer
class  NegativeReinforceTimer

Defines

#define INTEREST_PERIODIC   5
#define INTEREST_TIMEOUT   15
#define NEG_CHECK   2.0
#define MAX_NEG_COUNTER   20
#define PER_IIF   5
#define NEG_MIN_RATIO   0.1
#define MAX_DUP_DATA   0

Typedefs

typedef enum subsample_tx_type__ sub_t
typedef enum original_tx_type__ org_t
typedef enum pos_reinf_type__ pos_t
typedef enum pos_reinf_node_type__ pos_ndt
typedef enum neg_window_type__ neg_wint
typedef enum neg_threshold_type__ neg_tht
typedef enum neg_max_counter_type__ neg_mxt

Enumerations

enum  subsample_tx_type__ { BCAST_SUB, UNICAST_SUB }
enum  original_tx_type__ { BCAST_ORG, UNICAST_ORG }
enum  pos_reinf_type__ { POS_HASH, POS_LAST, POS_ALL }
enum  pos_reinf_node_type__ { END_POS, INTM_POS }
enum  neg_window_type__ { NEG_COUNTER, NEG_TIMER }
enum  neg_threshold_type__ { NEG_ABSOLUTE, NEG_RELATIVE }
enum  neg_max_counter_type__ { NEG_FIXED_MAX, NEG_SCALE_MAX }

Functions

sub_t ParseSubType (const char *str)
org_t ParseOrgType (const char *str)
pos_t ParsePosType (const char *str)
pos_ndt ParsePosNodeType (const char *str)
neg_wint ParseNegWinType (const char *str)
neg_tht ParseNegThrType (const char *str)
neg_mxt ParseNegMaxType (const char *str)

Define Documentation

#define INTEREST_PERIODIC   5
 

#define INTEREST_TIMEOUT   15
 

#define MAX_DUP_DATA   0
 

#define MAX_NEG_COUNTER   20
 

#define NEG_CHECK   2.0
 

#define NEG_MIN_RATIO   0.1
 

#define PER_IIF   5
 


Typedef Documentation

typedef enum neg_max_counter_type__ neg_mxt
 

typedef enum neg_threshold_type__ neg_tht
 

typedef enum neg_window_type__ neg_wint
 

typedef enum original_tx_type__ org_t
 

typedef enum pos_reinf_node_type__ pos_ndt
 

typedef enum pos_reinf_type__ pos_t
 

typedef enum subsample_tx_type__ sub_t
 


Enumeration Type Documentation

enum neg_max_counter_type__
 

Enumeration values:
NEG_FIXED_MAX 
NEG_SCALE_MAX 

enum neg_threshold_type__
 

Enumeration values:
NEG_ABSOLUTE 
NEG_RELATIVE 

enum neg_window_type__
 

Enumeration values:
NEG_COUNTER 
NEG_TIMER 

enum original_tx_type__
 

Enumeration values:
BCAST_ORG 
UNICAST_ORG 

enum pos_reinf_node_type__
 

Enumeration values:
END_POS 
INTM_POS 

enum pos_reinf_type__
 

Enumeration values:
POS_HASH 
POS_LAST 
POS_ALL 

enum subsample_tx_type__
 

Enumeration values:
BCAST_SUB 
UNICAST_SUB 


Function Documentation

neg_mxt ParseNegMaxType const char *    str
 

neg_tht ParseNegThrType const char *    str
 

neg_wint ParseNegWinType const char *    str
 

org_t ParseOrgType const char *    str
 

pos_ndt ParsePosNodeType const char *    str
 

pos_t ParsePosType const char *    str
 

sub_t ParseSubType const char *    str
 


This document is generated by doxygen.