A Discrete-Event Network Simulator
API
sample-rng-plot Namespace Reference

Variables

 alpha
 
 bins
 
 facecolor
 
 n
 
 normed
 
 patches
 
 rng = ns.core.NormalRandomVariable()
 
list x = [rng.GetValue() for t in range(10000)]
 

Variable Documentation

◆ alpha

◆ bins

sample-rng-plot.bins

Definition at line 37 of file sample-rng-plot.py.

◆ facecolor

sample-rng-plot.facecolor

Definition at line 37 of file sample-rng-plot.py.

◆ n

sample-rng-plot.n

Definition at line 37 of file sample-rng-plot.py.

Referenced by StackHelper.AddAddress(), ns3::PacketMetadata.AddBig(), ns3::ThreeGppSpectrumPropagationLossModel.AddDevice(), ns3::Ipv6StaticRoutingHelper.AddMulticastRoute(), ns3::Ipv4StaticRoutingHelper.AddMulticastRoute(), ns3::PacketMetadata.AddSmall(), ns3::Object.AggregateObject(), ns3::PacketMetadata.Allocate(), ns3.AsciiToIpv6Host(), ns3::RrcAsn1Header.BandwidthToEnum(), benchA(), benchB(), benchByteTags(), benchC(), benchD(), benchFragment(), ns3::YansErrorRateModel.Binomial(), PacketMetadataTest.CheckHistory(), ns3::Object.CheckLoose(), RngNormalTestCase.ChiSquaredTest(), ns3::dsr::DsrNetworkQueue.Cleanup(), ns3::CapabilityInformation.Clear(), ns3::UanMacRcGw.CompExpMinIndex(), ns3::UanMacRcGw.ComputeAlpha(), ns3::UanMacRcGw.ComputeExpBOverA(), ns3::UanMacRcGw.ComputeExpS(), ns3::UanMacRcGw.ComputePiK(), ns3::AnimationInterface.ConnectLte(), ns3::AnimationInterface.ConnectLteEnb(), ns3::AnimationInterface.ConnectLteUe(), ns3::JakesProcess.ConstructOscillators(), ContextToMac(), ns3::GridBuildingAllocator.Create(), FemtocellBlockAllocator.Create(), ns3::BuildingContainer.Create(), ns3::NodeContainer.Create(), ns3::TapBridge.CreateTap(), TestCaseHelper.CreatWaveDevice(), ns3::MacLow.DeaggregateAmpduAndReceive(), ns3::RipNgHeader.Deserialize(), ns3::RipHeader.Deserialize(), ns3::olsr::MessageHeader::Mid.Deserialize(), ns3::olsr::MessageHeader::Hello.Deserialize(), ns3::olsr::MessageHeader::Tc.Deserialize(), ns3::olsr::MessageHeader::Hna.Deserialize(), ns3::RrcConnectionSetupHeader.Deserialize(), ns3::RrcConnectionSetupCompleteHeader.Deserialize(), ns3::RrcConnectionReconfigurationCompleteHeader.Deserialize(), ns3::RrcConnectionReconfigurationHeader.Deserialize(), ns3::HandoverPreparationInfoHeader.Deserialize(), ns3::RrcConnectionReestablishmentRequestHeader.Deserialize(), ns3::RrcConnectionReestablishmentHeader.Deserialize(), ns3::RrcConnectionReestablishmentCompleteHeader.Deserialize(), ns3::RrcConnectionReleaseHeader.Deserialize(), ns3::RrcConnectionRejectHeader.Deserialize(), ns3::RrcDlCcchMessage.DeserializeDlCcchMessage(), ns3::RrcDlDcchMessage.DeserializeDlDcchMessage(), ns3::RrcAsn1Header.DeserializeDrbToAddModList(), ns3::Asn1Header.DeserializeInteger(), ns3::RrcAsn1Header.DeserializeLogicalChannelConfig(), ns3::RrcAsn1Header.DeserializeMeasConfig(), ns3::RrcAsn1Header.DeserializeMeasResults(), ns3::RrcAsn1Header.DeserializeNonCriticalExtensionConfig(), ns3::RrcAsn1Header.DeserializePlmnIdentity(), ns3::RrcAsn1Header.DeserializeQoffsetRange(), ns3::RrcAsn1Header.DeserializeRachConfigCommon(), ns3::RrcAsn1Header.DeserializeRadioResourceConfigCommon(), ns3::RrcAsn1Header.DeserializeRadioResourceConfigCommonSCell(), ns3::RrcAsn1Header.DeserializeRadioResourceConfigCommonSib(), ns3::RrcAsn1Header.DeserializeRadioResourceConfigDedicated(), ns3::RrcAsn1Header.DeserializeSrbToAddModList(), ns3::RrcAsn1Header.DeserializeSystemInformationBlockType1(), ns3::RrcAsn1Header.DeserializeSystemInformationBlockType2(), ns3::RrcUlCcchMessage.DeserializeUlCcchMessage(), ns3::RrcUlDcchMessage.DeserializeUlDcchMessage(), ns3::Object.Dispose(), PacketTest.DoCheck(), PacketTest.DoCheckData(), ns3::Object.DoDelete(), ns3::Object.DoGetObject(), ns3::QueueSize.DoParse(), ns3::DataRate.DoParse(), WaveformGeneratorTestCase.DoRun(), SpectrumInterferenceTestCase.DoRun(), LrWpanPlmeAndPdInterfaceTestCase.DoRun(), IpAddressHelperTestCasev6.DoRun(), UdpClientServerTestCase.DoRun(), ns3::tests::EventGarbageCollectorTestCase.DoRun(), CarrierAggregationConfigTestCase.DoRun(), IcmpEchoReplyTestCase.DoRun(), TcFlowControlTestCase.DoRun(), UdpTraceClientServerTestCase.DoRun(), RngNormalTestCase.DoRun(), IcmpTimeExceedTestCase.DoRun(), IcmpV6EchoReplyTestCase.DoRun(), IcmpV6TimeExceedTestCase.DoRun(), ns3::test::RandomVariable::ZipfTestCase.DoRun(), ns3::test::RandomVariable::ZipfAntitheticTestCase.DoRun(), WriteModeCreateTestCase.DoSetup(), ReadModeCreateTestCase.DoSetup(), FileHeaderTestCase.DoSetup(), RecordHeaderTestCase.DoSetup(), ns3::UanHelper.EnableAscii(), ns3::MobilityHelper.EnableAscii(), ns3::AsciiTraceHelperForDevice.EnableAscii(), ns3::AsciiTraceHelperForDevice.EnableAsciiImpl(), ns3::AsciiTraceHelperForIpv4.EnableAsciiIpv4(), ns3::AsciiTraceHelperForIpv4.EnableAsciiIpv4Impl(), ns3::AsciiTraceHelperForIpv6.EnableAsciiIpv6(), ns3::AsciiTraceHelperForIpv6.EnableAsciiIpv6Impl(), ns3::AthstatsHelper.EnableAthstats(), ns3::AnimationInterface.EnableIpv4L3ProtocolCounters(), ns3::PcapHelperForDevice.EnablePcap(), ns3::PcapHelperForIpv4.EnablePcapIpv4(), ns3::PcapHelperForIpv6.EnablePcapIpv6(), ns3::AnimationInterface.EnableQueueCounters(), ns3::AnimationInterface.EnableWifiMacCounters(), ns3::AnimationInterface.EnableWifiPhyCounters(), BufferTest.EnsureWrittenBytes(), ns3::RrcAsn1Header.EnumToBandwidth(), f(), FillHistoRangeUniformly(), GenerateTraffic(), ns3::AnimationInterface.GenericWirelessTxTrace(), ns3::ObjectPtrContainerAccessor.Get(), ns3::GlobalRoutingLSA.GetAttachedRouter(), ns3::TypeId.GetAttributeN(), ns3::BridgeNetDevice.GetBridgePort(), ns3::BuildingListPriv.GetBuilding(), ns3::BuildingList.GetBuilding(), ns3::ChannelList.GetChannel(), ns3::ChannelListPriv.GetChannel(), ns3::SPFVertex.GetChild(), ns3::UanMacRcGw.GetExpPdk(), ns3::Building.GetFloor(), ns3::ZipfRandomVariable.GetInteger(), ns3::MeshPointDevice.GetInterface(), ns3::ChannelCoordinator.GetIntervalTime(), ns3::AnimationInterface.GetIpv4RoutingTable(), ns3::GlobalRoutingLSA.GetLinkRecord(), ns3::ItuR1238PropagationLossModel.GetLoss(), ns3::GlobalRouter.GetLSA(), ns3::UanPhyDual.GetMode(), ns3::UanPhyGen.GetMode(), ns3::AnimationInterface.GetMovedNodes(), ns3::dsr::DsrRouting.GetNetDeviceFromContext(), ns3::AnimationInterface.GetNetDeviceFromContext(), ns3::RandomBuildingPositionAllocator.GetNext(), ns3::RandomRoomPositionAllocator.GetNext(), ns3::NodeList.GetNode(), ns3::NodeListPriv.GetNode(), ns3::AnimationInterface.GetNodeFromContext(), ns3::Ipv4GlobalRouting.GetNRoutes(), ns3::Ipv4MulticastRoutingTableEntry.GetOutputInterface(), ns3::Ipv6MulticastRoutingTableEntry.GetOutputInterface(), ns3::AnimationInterface.GetPosition(), ns3::Building.GetRoomX(), ns3::Building.GetRoomY(), ns3::VhtCapabilities.GetSupportedMcsAndNssSet(), ns3::Reservation.GetTimestamp(), ns3::ZipfRandomVariable.GetValue(), ns3::Object.Initialize(), ns3::LteSimpleHelper.InstallSingleEnbDevice(), ns3::LteHelper.InstallSingleEnbDevice(), ns3::LteSimpleHelper.InstallSingleUeDevice(), ns3::LteHelper.InstallSingleUeDevice(), ns3::dot11s::Dot11sMeshCapability.Is(), ns3::CapabilityInformation.Is(), ns3::AnimationInterface.LrWpanPhyRxBeginTrace(), ns3::AnimationInterface.LrWpanPhyTxBeginTrace(), ns3.MakeEnumChecker(), ns3.MakeObjectMapAccessor(), ns3.MakeObjectPtrContainerAccessor(), ns3.MakeObjectVectorAccessor(), ns3::SystemPath.MakeTemporaryDirectoryName(), MRG32k3a.MatPowModM(), ns3::AnimationInterface.MobilityAutoCheck(), ns3::AnimationInterface.MobilityCourseChangeTrace(), ns3::UanPhyPerUmodem.NChooseK(), ns3::UanMacRcGw.NchooseK(), ns3::NodeContainer.NodeContainer(), ns3::AnimationInterface.NodeHasMoved(), IntegerTraceSourceTestCase.NotifySource1(), ns3::SpectrumValue.operator<<(), ns3::SpectrumValue.operator>>(), ns3::tests::CommandLineTestCaseBase.Parse(), PerfFile(), PerfStream(), MRG32k3a.PowerOfTwoMatrix(), printCoordinateArray(), IpAddressHelper.PrintIpAddresses(), printMatrix(), StackHelper.PrintRoutingTable(), PrintStatsLine(), PrintSummary(), ns3::AnimationInterface::AnimPacketInfo.ProcessRxBegin(), readCordinatesFile(), ns3::Ipv4L3Protocol.RemoveDuplicates(), ns3::PacketMetadata.ReplaceTail(), MeshTest.Report(), ns3::Hash::Example::Dictionary.ReportExpectedCollisions(), runBench(), runBenchOneIteration(), RunBothModes(), SendOnePacket(), TcFlowControlTestCase.SendPackets(), ns3::DeviceNameTag.Serialize(), ns3::olsr::MessageHeader::Hna.Serialize(), ns3::Asn1Header.SerializeInteger(), ns3::RrcAsn1Header.SerializePlmnIdentity(), ns3::CapabilityInformation.Set(), ns3::GridBuildingAllocator.SetBuildingAttribute(), ns3::CcHelper.SetCcAttribute(), ns3::AnimationInterface.SetConstantPosition(), ns3::Ipv4StaticRoutingHelper.SetDefaultMulticastRoute(), ns3::DeviceNameTag.SetDeviceName(), ns3::dsr::DsrMaintainBuffEntry.SetDst(), ns3::LteHelper.SetEnbAntennaModelAttribute(), ns3::LteHelper.SetEnbComponentCarrierManagerAttribute(), ns3::LteHelper.SetEnbDeviceAttribute(), ns3::LteHelper.SetFadingModelAttribute(), ns3::LteHelper.SetFfrAlgorithmAttribute(), ns3::LteHelper.SetHandoverAlgorithmAttribute(), ns3::TcpTxBuffer.SetMaxBufferSize(), ns3::GridPositionAllocator.SetN(), ns3::dsr::DsrErrorBuffEntry.SetNextHop(), ns3::dsr::DsrPassiveBuffEntry.SetNextHop(), ns3::dsr::DsrMaintainBuffEntry.SetNextHop(), ns3::WifiPhy.SetNTxPower(), ns3::dsr::DsrOptionRreqHeader.SetNumberAddress(), ns3::dsr::DsrOptionRrepHeader.SetNumberAddress(), ns3::Ipv6ExtensionLooseRoutingHeader.SetNumberAddress(), ns3::dsr::DsrOptionSRHeader.SetNumberAddress(), ns3::LogDistancePropagationLossModel.SetPathLossExponent(), ns3::LteHelper.SetPathlossModelAttribute(), ns3::LteHexGridEnbTopologyHelper.SetPositionAndInstallEnbDevice(), ns3::aodv::RoutingTableEntry.SetRreqCnt(), ns3::LteHelper.SetSchedulerAttribute(), ns3::LteHelper.SetSpectrumChannelAttribute(), ns3::VhtCapabilities.SetSupportedMcsAndNssSet(), ns3::LteHelper.SetUeAntennaModelAttribute(), ns3::LteHelper.SetUeComponentCarrierManagerAttribute(), ns3::LteHelper.SetUeDeviceAttribute(), ns3::SpectrumValue.ShiftLeft(), ns3::SpectrumValue.ShiftRight(), ns3.StringToBuffer(), ns3.TapStringToBuffer(), ns3::Time.Time(), ns3::AnimationInterface.TrackIpv4Route(), ns3::ChannelAccessManager.UpdateBackoff(), ns3::AnimationInterface.UpdateNodeColor(), ns3::AnimationInterface.UpdateNodeDescription(), ns3::AnimationInterface.UpdatePosition(), ns3::AnimationInterface.WifiPhyTxBeginTrace(), ns3::AnimationInterface.WriteLinkProperties(), ns3::AnimationInterface.WriteN(), ns3::AnimationInterface.WriteNodeColors(), ns3::AnimationInterface.WriteNodeEnergies(), ns3::AnimationInterface.WriteNodes(), ns3::AnimationInterface.WriteNodeSizes(), and ns3::Object.~Object().

◆ normed

sample-rng-plot.normed

Definition at line 37 of file sample-rng-plot.py.

◆ patches

sample-rng-plot.patches

Definition at line 37 of file sample-rng-plot.py.

◆ rng

sample-rng-plot.rng = ns.core.NormalRandomVariable()

◆ x

list sample-rng-plot.x = [rng.GetValue() for t in range(10000)]

Definition at line 34 of file sample-rng-plot.py.

Referenced by _cairo_uint_96by64_32x64_divrem(), ns3::Gnuplot2dDataset.Add(), ns3::Gnuplot3dDataset.Add(), ns3::SpectrumValue.Add(), ns3::dot11s::IeBeaconTiming.AidToU8(), LteEnbAntennaTestCase.BuildNameString(), ns3::ThreeGppPropagationLossModel.Calculate2dDistance(), ns3::ThreeGppChannelConditionModel.Calculate2dDistance(), ns3.cell_tooltip_callback(), ns3.cell_tooltip_callback_config_default(), anonymous_namespace{gnuplot-example.cc}.Create2DPlotFile(), anonymous_namespace{gnuplot-example.cc}.Create2DPlotWithErrorBarsFile(), anonymous_namespace{gnuplot-example.cc}.Create3DPlotFile(), TestCaseHelper.CreatWaveDevice(), DbToNoneDb(), ns3::RadioEnvironmentMapHelper.DelayedInstall(), ns3::SpectrumValue.Divide(), TcpHeaderGetSetTestCase.DoRun(), TcpOptionTSTestCase.DoRun(), ns3::test::RandomVariable::UniformTestCase.DoRun(), ns3::test::RandomVariable::UniformAntitheticTestCase.DoRun(), ns3::test::RandomVariable::NormalTestCase.DoRun(), ns3::test::RandomVariable::NormalAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ExponentialTestCase.DoRun(), ns3::test::RandomVariable::ExponentialAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ParetoTestCase.DoRun(), ns3::test::RandomVariable::ParetoAntitheticTestCase.DoRun(), ns3::test::RandomVariable::WeibullTestCase.DoRun(), ns3::test::RandomVariable::WeibullAntitheticTestCase.DoRun(), PointerAttributeTestCase.DoRun(), ns3::test::RandomVariable::LogNormalTestCase.DoRun(), ns3::test::RandomVariable::LogNormalAntitheticTestCase.DoRun(), ns3::test::RandomVariable::GammaTestCase.DoRun(), ns3::test::RandomVariable::GammaAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ErlangTestCase.DoRun(), ns3::test::RandomVariable::ErlangAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ZipfTestCase.DoRun(), ns3::test::RandomVariable::ZipfAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ZetaTestCase.DoRun(), ns3::test::RandomVariable::ZetaAntitheticTestCase.DoRun(), ns3::test::RandomVariable::EmpiricalTestCase.DoRun(), ns3::test::RandomVariable::EmpiricalAntitheticTestCase.DoRun(), ns3::DsssErrorRateModel.DqpskFunction(), DQPSKFunction(), f(), ns3::FixedRoomPositionAllocator.FixedRoomPositionAllocator(), ns3::GeographicPositions.GeographicToCartesianCoordinates(), ns3::ThreeGppChannelModel.GetChannel(), ns3::RandomBuildingPositionAllocator.GetNext(), ns3::OutdoorPositionAllocator.GetNext(), ns3::RandomRoomPositionAllocator.GetNext(), ns3::SameRoomPositionAllocator.GetNext(), ns3::GridPositionAllocator.GetNext(), ns3::FixedRoomPositionAllocator.GetNext(), ns3::RandomRectanglePositionAllocator.GetNext(), ns3::RandomBoxPositionAllocator.GetNext(), ns3::RandomDiscPositionAllocator.GetNext(), ns3::UniformDiscPositionAllocator.GetNext(), ns3::Building.GetRoomX(), ns3::LogNormalRandomVariable.GetValue(), ns3::GammaRandomVariable.GetValue(), ns3.isNaN(), MRG32k3a.MatVecModM(), ns3.max(), ns3.min(), SpectrumValueTestCase.MoreOrLessEqual(), ns3::SpectrumValue.Multiply(), NoneDbToDb(), ns3.Norm(), ns3::PacketSink::AddressHash.operator()(), ns3::Ipv4AddressHash.operator()(), ns3::Ipv6AddressHash.operator()(), ns3.operator<<(), operator==(), ns3.operator>>(), ns3.ParseNs2Line(), ns3::PointToPointGridHelper.PointToPointGridHelper(), ns3.Prod(), QFunction(), ns3::Hash::Function::Murmur3Implementation.rotl32(), ns3::Hash::Function::Murmur3Implementation.rotl64(), NetAnimExperiment.Run(), Experiment.Run(), ns3::RadioEnvironmentMapHelper.RunOneIteration(), ns3::AnimationInterface.SetBackgroundImage(), ns3::AnimationInterface.SetConstantPosition(), ns3::LteHexGridEnbTopologyHelper.SetPositionAndInstallEnbDevice(), ns3::OutdoorPositionAllocator.SetX(), ns3::RandomRectanglePositionAllocator.SetX(), ns3::RandomBoxPositionAllocator.SetX(), ns3::RandomDiscPositionAllocator.SetX(), ns3::UniformDiscPositionAllocator.SetX(), LteFrAreaTestCase.SimpleTeleportUe(), ns3::SpectrumValue.Subtract(), ns3.Sum(), LteUplinkPowerControlTestCase.TeleportUe(), LteFrAreaTestCase.TeleportUe(), LteFrAreaTestCase.TeleportUe2(), ns3::dot11s::PeerManagementProtocol.TimeToTu(), ns3::dot11s::PeerManagementProtocol.TuToTime(), ns3::Average< double >.Update(), ns3::AnimationInterface.UpdatePosition(), ns3::GnuplotAggregator.Write2d(), ns3::GnuplotAggregator.Write2dWithXErrorDelta(), ns3::GnuplotAggregator.Write2dWithXYErrorDelta(), ns3::GnuplotAggregator.Write2dWithYErrorDelta(), ns3::AnimationInterface.WriteXmlUpdateBackground(), and ns3::AnimationInterface.WriteXmlUpdateNodePosition().