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/iflist.h File Reference

#include <stdio.h>
#include "config.h"

Compounds

class  Agent_List
class  From_List
class  In_List
class  Out_List
class  PrvCurPtr

Defines

#define INTF_INSERT(x, y)   x->InsertFront((Agent_List **)&x, (Agent_List *)y)
#define INTF_REMOVE(x, y)   y->Remove(x,y)
#define INTF_FIND(x, y)   x->Find((Agent_List **)&x, y)
#define INTF_FREEALL(x)   x->FreeAll((Agent_List **)&x)
#define INTF_UNION(x, y)   x->Union((Agent_List **)&x, (Agent_List *)y)
#define AGENT_NEXT(x)   x->next
#define FROM_NEXT(x)   (From_List *)(x->next)
#define OUT_NEXT(x)   (Out_List *)(x->next)
#define IN_NEXT(x)   (In_List *)(x->next)
#define AGT_ADDR(x)   x->agent_addr
#define NODE_ADDR(x)   x->agent_addr.addr_
#define PORT(x)   x->agent_addr.port_
#define RANK(x)   ((From_List *)x)->rank
#define IS_SINK(x)   ((From_List *)x)->is_sink
#define GRADIENT(x)   ((Out_List *)x)->gradient
#define GRAD_TMOUT(x)   ((Out_List *)x)->timeout
#define FROM_SLOT(x)   ((Out_List *)x)->from
#define TO_SLOT(x)   ((Out_List *)x)->to
#define NUM_DATA_SEND(x)   ((Out_List *)x)->num_data_send
#define NUM_NEG_RECV(x)   ((Out_List *)x)->num_neg_recv
#define NUM_POS_RECV(x)   ((Out_List *)x)->num_pos_recv
#define NUM_POS_SEND(x)   ((In_List *)x)->num_pos_send
#define NUM_NEG_SEND(x)   ((In_List *)x)->num_neg_send
#define LAST_TS_NEW_SUB(x)   ((In_List *)x)->last_ts_new_sub
#define NEW_SUB_RECV(x)   ((In_List *)x)->new_sub_recv
#define NEW_ORG_RECV(x)   ((In_List *)x)->new_org_recv
#define OLD_ORG_RECV(x)   ((In_List *)x)->old_org_recv
#define TOTAL_NEW_SUB_RECV(x)   ((In_List *)x)->total_new_sub_recv
#define TOTAL_NEW_ORG_RECV(x)   ((In_List *)x)->total_new_org_recv
#define TOTAL_OLD_ORG_RECV(x)   ((In_List *)x)->total_old_org_recv
#define TOTAL_RECV(x)   ((In_List *)x)->total_received
#define PREV_RECV(x)   ((In_List *)x)->prev_received
#define NUM_LOSS(x)   ((In_List *)x)->num_loss
#define AVG_DELAY(x)   ((In_List *)x)->avg_delay
#define VAR_DELAY(x)   ((In_List *)x)->var_delay
#define WHERE_TO_GO(x)   x->WhereToGo()
#define FIND_MAX_IN(x)   x->FindMaxIn()
#define CAL_RANGE(x)   x->CalRange()
#define NORMALIZE(x)   x->NormalizeGradient()

Define Documentation

#define AGENT_NEXT (  x    )     x->next
 

#define AGT_ADDR (  x    )     x->agent_addr
 

#define AVG_DELAY (  x    )     ((In_List *)x)->avg_delay
 

#define CAL_RANGE (  x    )     x->CalRange()
 

#define FIND_MAX_IN (  x    )     x->FindMaxIn()
 

#define FROM_NEXT (  x    )     (From_List *)(x->next)
 

#define FROM_SLOT (  x    )     ((Out_List *)x)->from
 

#define GRAD_TMOUT (  x    )     ((Out_List *)x)->timeout
 

#define GRADIENT (  x    )     ((Out_List *)x)->gradient
 

#define IN_NEXT (  x    )     (In_List *)(x->next)
 

#define INTF_FIND (  x,
y    )     x->Find((Agent_List **)&x, y)
 

#define INTF_FREEALL (  x    )     x->FreeAll((Agent_List **)&x)
 

#define INTF_INSERT (  x,
y    )     x->InsertFront((Agent_List **)&x, (Agent_List *)y)
 

#define INTF_REMOVE (  x,
y    )     y->Remove(x,y)
 

#define INTF_UNION (  x,
y    )     x->Union((Agent_List **)&x, (Agent_List *)y)
 

#define IS_SINK (  x    )     ((From_List *)x)->is_sink
 

#define LAST_TS_NEW_SUB (  x    )     ((In_List *)x)->last_ts_new_sub
 

#define NEW_ORG_RECV (  x    )     ((In_List *)x)->new_org_recv
 

#define NEW_SUB_RECV (  x    )     ((In_List *)x)->new_sub_recv
 

#define NODE_ADDR (  x    )     x->agent_addr.addr_
 

#define NORMALIZE (  x    )     x->NormalizeGradient()
 

#define NUM_DATA_SEND (  x    )     ((Out_List *)x)->num_data_send
 

#define NUM_LOSS (  x    )     ((In_List *)x)->num_loss
 

#define NUM_NEG_RECV (  x    )     ((Out_List *)x)->num_neg_recv
 

#define NUM_NEG_SEND (  x    )     ((In_List *)x)->num_neg_send
 

#define NUM_POS_RECV (  x    )     ((Out_List *)x)->num_pos_recv
 

#define NUM_POS_SEND (  x    )     ((In_List *)x)->num_pos_send
 

#define OLD_ORG_RECV (  x    )     ((In_List *)x)->old_org_recv
 

#define OUT_NEXT (  x    )     (Out_List *)(x->next)
 

#define PORT (  x    )     x->agent_addr.port_
 

#define PREV_RECV (  x    )     ((In_List *)x)->prev_received
 

#define RANK (  x    )     ((From_List *)x)->rank
 

#define TO_SLOT (  x    )     ((Out_List *)x)->to
 

#define TOTAL_NEW_ORG_RECV (  x    )     ((In_List *)x)->total_new_org_recv
 

#define TOTAL_NEW_SUB_RECV (  x    )     ((In_List *)x)->total_new_sub_recv
 

#define TOTAL_OLD_ORG_RECV (  x    )     ((In_List *)x)->total_old_org_recv
 

#define TOTAL_RECV (  x    )     ((In_List *)x)->total_received
 

#define VAR_DELAY (  x    )     ((In_List *)x)->var_delay
 

#define WHERE_TO_GO (  x    )     x->WhereToGo()
 


This document is generated by doxygen.