# MulticastEmulation **Repository Path**: T1anzhEnyu/multicast-emulation ## Basic Information - **Project Name**: MulticastEmulation - **Description**: No description available - **Primary Language**: C++ - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 2 - **Created**: 2021-12-27 - **Last Updated**: 2023-06-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Multicast Emulation ================================ ## Table of Contents: 1) Introduction 2) Usage ## Introduction Multicast Emulation integrates a multicast simulation framework based on identification and location decoupling. The framework has complete multicast path construction and maintenance functions.Multicast Emulation has some interfaces to adjust the multicast tree construction algorithms ## Usage ```shell ./waf configure ``` followed by ```shell ./waf ./waf --run multicast_part_RP ``` ### DR OR RP DEPLOYMENT SIMULATION If you want to adjust the DR OR RP DEPLOYMENT SIMULATION algorithm, you can change "void SetDRandRP(std::map >nodeMap,const NodeContainer nodes, NodeContainer * senderDR, NodeContainer * receiverDR,NodeContainer * switchnodes,NodeContainer * RPnodes, std::string treetype)" in "scratch/multicast_part_RP.cc" ### RP SELECTION SIMULATION If you want to adjust the RP SELECTION SIMULATION algorithm, you can change "Ipv4Address MulticastSwitch ::GetRootNode(uint8_t* buffer,uint8_t bias)" in "src/applications/model/multicast-switch.cc" ### GP SELECTION SIMULATION if you want to adjust the GP SELECTION SIMULATION algorithm, you can change "uint32_t MulticastSwitch ::GetLeafNode(SeanetEID se, uint32_t readnum,uint32_t hopcount)" in "src/applications/model/multicast-switch.cc" ### MULTICAST STATE REDUCTION SIMULATION if you want to adjust the MULTICAST STATE REDUCTION SIMULATION, you can change "uint32_t MulticastSwitch::StateReduction(SeanetEID se)" in "src/applications/model/multicast-switch.cc"