shawn Namespace Reference


Classes

class  CommunicationModelFactory
 Abstract parent class for communication model factories. More...
class  CommunicationModelKeeper
 Keeper for communication models. More...
class  DiskGraphCommunicationModelFactory
class  DiskGraphModel
class  ManualCommunicationModel
class  ManualCommunicationModelFactory
class  MultipleCommunicationModel
class  MultipleCommunicationModelFactory
class  PermalinkCommunicationModel
 CommunicationModel that provides static links between nodes to mimic fixed communication channels. More...
class  PermalinkCommunicationModelFactory
 Creates a new PermalinkCommunicationModel instance. More...
class  QDGLinearProbability
class  QDGProbability
class  RimCommModel
 Simulates Radio Irregulation Model in Shawn. More...
class  RimCommModelFactory
class  StochasticCommunicationModel
class  StochasticCommunicationModelFactory
class  CommunicationModel
 Model deciding whether nodes can hear each other. More...
class  DistanceEstimateKeeper
class  PerfectDistanceEstimate
class  RandomizedDistanceEstimate
class  SimulationTaskRandomizedDistanceEstimate
class  EdgeModel
class  EdgeModelFactory
class  EdgeModelKeeper
class  FastListEdgeModel
class  FastListEdgeModelFactory
class  GridEdgeModel
 EdgeModel based on a geometric grid. More...
class  GridEdgeModelFactory
class  LazyEdgeModel
class  LazyEdgeModelFactory
class  ListEdgeModel
class  ListEdgeModelFactory
class  ManualEdgeModel
class  Energy
class  EventScheduler
class  Logger
 Main logging class. More...
class  SimulationTaskLoggingLoadCfg
 Task that loads a logging library configuration file. More...
class  SimulationTaskLoggingReconfigure
 Task reconfiguring logging libraries at runtime. More...
class  Message
 Superclass of all messages. More...
class  Box
 Axis-parallel box (cuboid). More...
class  DegreeHistogram
class  SimulationTaskDegreeSequence
class  DerefIterator
 Convenience iterator wrapper to auto-dereference pointers. More...
class  DynamicNodeArray
class  SimulationTaskDumpLocation
class  SimulationTaskLocalizationAnchorPlacement
 Anchor placement on the basis of geometric figures. More...
class  LocalizationProcessorType
class  NodeChangeListener
class  NodeFinder
class  DoubleFormatter
class  Observable
class  BoxContainer
class  LoadPluginTask
class  LogSysResourcesTask
class  SystemResources
class  ConstantEdgeRandom
class  NormalRandomVariable
class  SimulationTaskRandomSeed
class  RandomVariable
class  RandomVariableKeeper
class  SimulationTaskCreateNormal
class  SimulationTaskCreateUniform
class  UniformRandomVariable
class  WeibullRandomVariable
class  SkipNullIterator
class  StaticNodeArray
class  StrTok
 String tokenizer helper class. More...
class  UUIDGenerator
class  Neighborhood
class  NeighborhoodConst
class  Node
class  NodeDistanceEstimate
class  NodeMovement
 Abstract interface for node mobility implementations. More...
class  JumpMovement
 JumpMovement. More...
class  LinearMovement
class  MovementObservable
class  MovementObserver
class  NoMovement
 NodeMovement for completely immobile nodes. More...
class  MovementController
 A controller handling the generation and assignment of NodeMovement objects to their respective Nodes. More...
class  MovementInfo
 Encapsulation for the movement order parameters created by the NodeMovementCreator. More...
class  MovementResetTask
class  NodeMovementCreator
 This class provides an Interface for any class that implements NodeMovement creation. More...
class  SimulationTaskNodeMovement
 Appends a transmission model to the current chain of transmission models. More...
class  NS2NodeMovementCreator
 This class provides an implementation of the NodeMovementCreator. More...
class  TagNodeMovementCreator
 This class provides an implementation of the NodeMovementCreator. More...
class  SimpleMovement
class  Processor
 Message-processing protocol resp. algorithm for nodes. More...
class  ProcessorFactory
class  ProcessorKeeper
class  SimulationTaskSimulation
class  SimulationTaskAddWorldTask
class  SimulationTaskWorld
class  SimulationTaskDegreeHistogram
class  SimulationTaskShowHandleKeeper
class  SimulationTaskShowTasks
class  SimulationTaskShowProcessors
class  SimulationTaskShowRandomVariables
class  SimulationTaskShowEdgeModels
class  SimulationTaskShowDistanceEstimates
class  JShawnNDimensionalResult
class  JShawnSimulationController
class  ShawnSimulationController
class  SimulationController
 Central repository for all simulation-relevant objects. More...
class  SimulationEnvironment
 Access to configuration variables. More...
class  SimulationTaskResult
class  SimulationTask
class  SimulationTaskKeeper
class  Tag
class  TagContainer
class  TagSyncable
class  SimpleValueTag
class  IntegerTag
class  DoubleTag
class  BoolTag
class  StringTag
class  GroupTag
class  MapTag
class  NodeReferenceTag
class  TagFactory
class  TagFactoryKeeper
class  GroupTagFactory
class  IntegerTagFactory
class  DoubleTagFactory
class  BoolTagFactory
class  StringTagFactory
class  NodeReferenceTagFactory
class  MapTagFactory
class  AlohaTransmissionModel
 Aloha transmission model where each message is delivered without delay but there is packet loss. More...
class  AlohaTransmissionModelFactory
 Creates instances of AlohaTransmissionModel. More...
class  ChainableTransmissionModel
 Transmission model that will accept a transmission model as a successor. More...
class  CsmaTransmissionModel
 A CsmaTransmissionmodel senses the channel before it delivers a message. This class implements the CSMA/CA transmission model. A processor waits for the medium to be free before sending. If a neighbor is already sending, the new message will be delayed until the end of the transmission plus a backoff time In this implementation one can define parameters for the mediums bandwidth and the upper bound for the randomy chosen backoff This module can be called by: transm_model=csma bandwidth=1 backoff=0.5. More...
class  CsmaTransmissionModelFactory
 Creates instances of AlohaTransmissionModel. More...
struct  msg_destination
 The structure for information of a destination node. More...
class  csma_msg
 Message structure used in csma transmission model. More...
class  MacaTransmissionModel
 A MACA transmission model delays the messages if two packets may interfere at some node. More...
class  MacaTransmissionModelFactory
 Creates instances of AlohaTransmissionModel. More...
class  RandomDropTransmissionModel
 Randomly drops messages with a given $probability ranging from 0.0 to 1.0. More...
class  RandomDropTransmissionModelFactory
 Creates instances of RandomDropTransmissionModel. More...
class  ReliableTransmissionModel
 The ReliableTransmissionModel (\"reliable\") delivers every message without loss.". More...
class  ReliableTransmissionModelFactory
 Creates instances of ReliableTransmissionModel. More...
class  SlottedAlohaTransmissionModel
 Slotted aloha transmission model where each message arrives at the beginning of a slot with a given $slot (0.0,1.0]. More...
class  SlottedAlohaTransmissionModelFactory
 Creates instances of SlottedAlohaTransmissionModel. More...
class  StatsChainTransmissionModel
 Message counting chainable transmission model. More...
class  StatsChainTransmissionModelDumpStats
class  StatsChainTransmissionModelFactory
 Creates instances of StatsChainTransmissionModel. More...
class  SimulationTaskChainTransmModel
 Appends a transmission model to the current chain of transmission models. More...
class  TransmissionModelFactory
 Abstract parent class for transmission model factories. More...
class  TransmissionModelKeeper
 Keeper for transmission models. More...
class  ZigbeeCsmaTransmissionModel
 A ZigbeeCsmaTransmissionmodel is a CSMA transmission model. More...
class  ZigbeeCsmaTransmissionModelFactory
 Creates instances of AlohaTransmissionModel. More...
class  TransmissionModel
 Model deciding how messages are delivered, use it to model transmission channel characteristics. More...
class  HandleKeeper
class  HandleKeeperBase
class  KeeperManaged
class  RefcntPointable
class  RefcntPointer
class  Vec
class  World
class  WorldFactory
class  CuboidWorldFactory
class  HoleRectWorldFactory
class  ProcessorWorldFactory
class  RectWorldFactory
class  SimulationTaskProcessorWorldFactory
class  SimulationTaskRectWorldFactory
class  SimulationTaskCuboidWorldFactory

Namespaces

namespace  xml

Typedefs

typedef std::set< Node * > NodeSet

Functions

 DECLARE_HANDLES (CommunicationModelFactory)
void init_communication_models (SimulationController &) throw ()
 Initialises all communication models by registering them with the CommunicationModelKeeper.
void init_distance_estimates (SimulationController &) throw ()
 DECLARE_HANDLES (EdgeModelFactory)
void init_edge_models (SimulationController &) throw ()
void init_logging (SimulationController &) throw ()
 DECLARE_HANDLES (Message)
void init_misc (SimulationController &) throw ()
void init_misc_os (SimulationController &) throw ()
double uniform_random_0i_1i (void) throw ()
double uniform_random_0i_1e (void) throw ()
double uniform_random_0e_1i (void) throw ()
double uniform_random_0e_1e (void) throw ()
int uniform_discrete_random (int maxval) throw ()
void init_random_sequence (void) throw ()
void init_misc_random (SimulationController &) throw ()
 DECLARE_HANDLES (SimulationTaskRandomSeed)
 DECLARE_HANDLES (RandomVariable)
 DECLARE_HANDLES (Neighborhood)
 DECLARE_HANDLES (NeighborhoodConst)
 DECLARE_HANDLES (NodeDistanceEstimate)
 DECLARE_HANDLES (NodeMovement)
void init_node_movements (SimulationController &) throw ()
void init_playback_tasks (SimulationController &sc) throw ()
void init_playback (SimulationController &sc) throw ()
 DECLARE_HANDLES (Processor)
 DECLARE_HANDLES (ProcessorFactory)
ShawnSimulationControllershawn_init_sys (void) throw ()
void init_basic_tasks (SimulationController &) throw ()
 DECLARE_HANDLES (SimulationTask)
void init_sys_tasks (SimulationController &sc) throw ()
 DECLARE_HANDLES (Tag)
 DECLARE_HANDLES (TagContainer)
 AUTO_DECLARE_MAP_TAG (IntegerIntegerMapTag, int, int)
 AUTO_DECLARE_MAP_TAG (IntegerDoubleMapTag, int, double)
 AUTO_DECLARE_MAP_TAG (IntegerStringMapTag, int, std::string)
 AUTO_DECLARE_MAP_TAG (IntegerBoolMapTag, int, bool)
 AUTO_DECLARE_MAP_TAG (DoubleIntegerMapTag, double, int)
 AUTO_DECLARE_MAP_TAG (DoubleDoubleMapTag, double, double)
 AUTO_DECLARE_MAP_TAG (DoubleStringMapTag, double, std::string)
 AUTO_DECLARE_MAP_TAG (DoubleBoolMapTag, double, bool)
 AUTO_DECLARE_MAP_TAG (StringIntegerMapTag, std::string, int)
 AUTO_DECLARE_MAP_TAG (StringDoubleMapTag, std::string, double)
 AUTO_DECLARE_MAP_TAG (StringStringMapTag, std::string, std::string)
 AUTO_DECLARE_MAP_TAG (StringBoolMapTag, std::string, bool)
 AUTO_DECLARE_MAP_TAG (BoolIntegerMapTag, bool, int)
 AUTO_DECLARE_MAP_TAG (BoolDoubleMapTag, bool, double)
 AUTO_DECLARE_MAP_TAG (BoolStringMapTag, bool, std::string)
 DECLARE_HANDLES (NodeReferenceTag)
 DECLARE_HANDLES (TagFactory)
void init_taggings (SimulationController &) throw ()
 DECLARE_HANDLES (TransmissionModelFactory)
void init_transmission_models (SimulationController &) throw ()
 Initialises all transmission models by registering them with the TransmisionModelKeeper.
 DECLARE_HANDLES (KeeperManaged)
template<typename T>
void count_set_differences (const std::set< T > &s1, const std::set< T > &s2, int *cs1wos2=NULL, int *cs2wos1=NULL, int *cs1=NULL, int *cs2=NULL, int *csect=NULL, int *cunion=NULL)
int conv_string_to_int (const std::string &) throw ( std::runtime_error )
double conv_string_to_double (const std::string &) throw ( std::runtime_error )
bool conv_string_to_bool (const std::string &) throw ( std::runtime_error )
void split_comma_separated (const std::string &, std::list< std::string > &) throw ()
double euclidean_distance (const Vec &p1, const Vec &p2) throw ()
Vec cross_product (const Vec &p1, const Vec &p2) throw ()
void init_world_tasks (SimulationController &) throw ()
void init_xml (SimulationController &) throw ()


Typedef Documentation

typedef std::set<Node*> shawn::NodeSet


Function Documentation

shawn::AUTO_DECLARE_MAP_TAG ( BoolStringMapTag  ,
bool  ,
std::string   
)

shawn::AUTO_DECLARE_MAP_TAG ( BoolDoubleMapTag  ,
bool  ,
double   
)

shawn::AUTO_DECLARE_MAP_TAG ( BoolIntegerMapTag  ,
bool  ,
int   
)

shawn::AUTO_DECLARE_MAP_TAG ( StringBoolMapTag  ,
std::string  ,
bool   
)

shawn::AUTO_DECLARE_MAP_TAG ( StringStringMapTag  ,
std::string  ,
std::string   
)

shawn::AUTO_DECLARE_MAP_TAG ( StringDoubleMapTag  ,
std::string  ,
double   
)

shawn::AUTO_DECLARE_MAP_TAG ( StringIntegerMapTag  ,
std::string  ,
int   
)

shawn::AUTO_DECLARE_MAP_TAG ( DoubleBoolMapTag  ,
double  ,
bool   
)

shawn::AUTO_DECLARE_MAP_TAG ( DoubleStringMapTag  ,
double  ,
std::string   
)

shawn::AUTO_DECLARE_MAP_TAG ( DoubleDoubleMapTag  ,
double  ,
double   
)

shawn::AUTO_DECLARE_MAP_TAG ( DoubleIntegerMapTag  ,
double  ,
int   
)

shawn::AUTO_DECLARE_MAP_TAG ( IntegerBoolMapTag  ,
int  ,
bool   
)

shawn::AUTO_DECLARE_MAP_TAG ( IntegerStringMapTag  ,
int  ,
std::string   
)

shawn::AUTO_DECLARE_MAP_TAG ( IntegerDoubleMapTag  ,
int  ,
double   
)

shawn::AUTO_DECLARE_MAP_TAG ( IntegerIntegerMapTag  ,
int  ,
int   
)

bool shawn::conv_string_to_bool ( const std::string &   )  throw ( std::runtime_error )

double shawn::conv_string_to_double ( const std::string &   )  throw ( std::runtime_error )

int shawn::conv_string_to_int ( const std::string &   )  throw ( std::runtime_error )

template<typename T>
void shawn::count_set_differences ( const std::set< T > &  s1,
const std::set< T > &  s2,
int *  cs1wos2 = NULL,
int *  cs2wos1 = NULL,
int *  cs1 = NULL,
int *  cs2 = NULL,
int *  csect = NULL,
int *  cunion = NULL 
) [inline]

fast counting of set differences without explicit construction of temporaries: Results: *cs1wos2 contains |s1 s2|, *cs2wos1 contains |s2 s1|, *cs1 contains |s1|, *cs2 contains |s2|, *csect contains |s1 s2|, *cunion contains |s1 s2| all c-parms can be NULL if value isn't needed.

Vec shawn::cross_product ( const Vec &  p1,
const Vec &  p2 
) throw () [inline]

Here is the call graph for this function:

shawn::DECLARE_HANDLES ( KeeperManaged   ) 

shawn::DECLARE_HANDLES ( TransmissionModelFactory   ) 

shawn::DECLARE_HANDLES ( TagFactory   ) 

shawn::DECLARE_HANDLES ( NodeReferenceTag   ) 

shawn::DECLARE_HANDLES ( TagContainer   ) 

shawn::DECLARE_HANDLES ( Tag   ) 

shawn::DECLARE_HANDLES ( SimulationTask   ) 

shawn::DECLARE_HANDLES ( ProcessorFactory   ) 

shawn::DECLARE_HANDLES ( Processor   ) 

shawn::DECLARE_HANDLES ( NodeMovement   ) 

shawn::DECLARE_HANDLES ( NodeDistanceEstimate   ) 

shawn::DECLARE_HANDLES ( NeighborhoodConst   ) 

shawn::DECLARE_HANDLES ( Neighborhood   ) 

shawn::DECLARE_HANDLES ( RandomVariable   ) 

shawn::DECLARE_HANDLES ( SimulationTaskRandomSeed   ) 

shawn::DECLARE_HANDLES ( Message   ) 

shawn::DECLARE_HANDLES ( EdgeModelFactory   ) 

shawn::DECLARE_HANDLES ( CommunicationModelFactory   ) 

double shawn::euclidean_distance ( const Vec &  p1,
const Vec &  p2 
) throw () [inline]

void shawn::init_basic_tasks ( SimulationController &   )  throw ()

void shawn::init_communication_models ( SimulationController &   )  throw ()

Initialises all communication models by registering them with the CommunicationModelKeeper.

void shawn::init_distance_estimates ( SimulationController &   )  throw ()

void shawn::init_edge_models ( SimulationController &   )  throw ()

void shawn::init_logging ( SimulationController &   )  throw ()

void shawn::init_misc ( SimulationController &   )  throw ()

void shawn::init_misc_os ( SimulationController &   )  throw ()

void shawn::init_misc_random ( SimulationController &   )  throw ()

void shawn::init_node_movements ( SimulationController &   )  throw ()

void shawn::init_playback ( SimulationController &  sc  )  throw ()

void shawn::init_playback_tasks ( SimulationController &  sc  )  throw ()

void shawn::init_random_sequence ( void   )  throw ()

void shawn::init_sys_tasks ( SimulationController &  sc  )  throw ()

void shawn::init_taggings ( SimulationController &   )  throw ()

void shawn::init_transmission_models ( SimulationController &   )  throw ()

Initialises all transmission models by registering them with the TransmisionModelKeeper.

void shawn::init_world_tasks ( SimulationController &   )  throw ()

void shawn::init_xml ( SimulationController &   )  throw ()

ShawnSimulationController* shawn::shawn_init_sys ( void   )  throw ()

void shawn::split_comma_separated ( const std::string &  ,
std::list< std::string > &   
) throw ()

int shawn::uniform_discrete_random ( int  maxval  )  throw ()

double shawn::uniform_random_0e_1e ( void   )  throw ()

double shawn::uniform_random_0e_1i ( void   )  throw ()

double shawn::uniform_random_0i_1e ( void   )  throw ()

double shawn::uniform_random_0i_1i ( void   )  throw ()

Here is the caller graph for this function:


Generated on Sun Feb 5 00:00:43 2012 for Shawn by  doxygen 1.5.6