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

sample-rng-plot.bins

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

sample-rng-plot.facecolor

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

sample-rng-plot.n

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

Referenced by ns3::PacketMetadata.AddBig(), 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::GlobalRouter.BuildNetworkLSAs(), PacketMetadataTest.CheckHistory(), ns3::Object.CheckLoose(), ns3::dsr::DsrNetworkQueue.Cleanup(), ns3::CapabilityInformation.Clear(), ns3::UanMacRcGw.ComputeExpBOverA(), ns3::UanMacRcGw.ComputeExpS(), ns3::AnimationInterface.ConnectLte(), ns3::JakesProcess.ConstructOscillators(), 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::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(), 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(), TcFlowControlTestCase.DoRun(), UdpTraceClientServerTestCase.DoRun(), RngNormalTestCase.DoRun(), ReadModeCreateTestCase.DoRun(), RandomVariableStreamNormalTestCase.DoRun(), RandomVariableStreamNormalAntitheticTestCase.DoRun(), RandomVariableStreamLogNormalTestCase.DoRun(), RandomVariableStreamLogNormalAntitheticTestCase.DoRun(), RandomVariableStreamGammaTestCase.DoRun(), RandomVariableStreamGammaAntitheticTestCase.DoRun(), RandomVariableStreamErlangTestCase.DoRun(), RandomVariableStreamErlangAntitheticTestCase.DoRun(), RandomVariableStreamZipfTestCase.DoRun(), RandomVariableStreamZipfAntitheticTestCase.DoRun(), WriteModeCreateTestCase.DoSetup(), ReadModeCreateTestCase.DoSetup(), FileHeaderTestCase.DoSetup(), RecordHeaderTestCase.DoSetup(), ns3::AsciiTraceHelperForDevice.EnableAsciiImpl(), ns3::AsciiTraceHelperForIpv4.EnableAsciiIpv4Impl(), ns3::AsciiTraceHelperForIpv6.EnableAsciiIpv6Impl(), ns3::AnimationInterface.EnableIpv4L3ProtocolCounters(), ns3::PcapHelperForDevice.EnablePcap(), ns3::PcapHelperForIpv4.EnablePcapIpv4(), ns3::PcapHelperForIpv6.EnablePcapIpv6(), ns3::AnimationInterface.EnableQueueCounters(), ns3::AnimationInterface.EnableWifiMacCounters(), ns3::AnimationInterface.EnableWifiPhyCounters(), BufferTest.EnsureWrittenBytes(), f(), FillHistoRangeUniformly(), anonymous_namespace{random-variable-stream-test-suite.cc}.FillHistoRangeUniformly(), ns3::AnimationInterface.GenericWirelessTxTrace(), ns3::ObjectPtrContainerAccessor.Get(), ns3::TypeId.GetAttributeN(), ns3::BridgeNetDevice.GetBridgePort(), ns3::ChannelListPriv.GetChannel(), ns3::DsssErrorRateModel.GetDsssDqpskCck11SuccessRate(), ns3::UanMacRcGw.GetExpPdk(), ns3::Building.GetFloor(), ns3::MeshPointDevice.GetInterface(), ns3::ChannelCoordinator.GetIntervalTime(), ns3::ItuR1238PropagationLossModel.GetLoss(), ns3::UanPhyGen.GetMode(), ns3::AnimationInterface.GetMovedNodes(), ns3::dsr::DsrRouting.GetNetDeviceFromContext(), ns3::AnimationInterface.GetNetDeviceFromContext(), ns3::RandomBuildingPositionAllocator.GetNext(), ns3::RandomRoomPositionAllocator.GetNext(), ns3::NodeListPriv.GetNode(), ns3::AnimationInterface.GetNodeFromContext(), ns3::Ipv4GlobalRouting.GetNRoutes(), ns3::Ipv4MulticastRoutingTableEntry.GetOutputInterface(), ns3::Ipv6MulticastRoutingTableEntry.GetOutputInterface(), ns3::Building.GetRoomX(), ns3::Building.GetRoomY(), ns3::VhtCapabilities.GetSupportedMcsAndNssSet(), ns3::Reservation.GetTimestamp(), ns3::ZipfRandomVariable.GetValue(), ns3::Object.Initialize(), ns3::dot11s::Dot11sMeshCapability.Is(), ns3::CapabilityInformation.Is(), ns3::AnimationInterface.LrWpanPhyRxBeginTrace(), ns3::AnimationInterface.LrWpanPhyTxBeginTrace(), ns3.MakeObjectMapAccessor(), ns3.MakeObjectPtrContainerAccessor(), ns3.MakeObjectVectorAccessor(), ns3::SystemPath.MakeTemporaryDirectoryName(), ns3::AnimationInterface.MobilityAutoCheck(), ns3::AnimationInterface.MobilityCourseChangeTrace(), ns3::UanPhyPerUmodem.NChooseK(), IntegerTraceSourceTestCase.NotifySource1(), PerfFile(), PerfStream(), PhyStateTrace(), printCoordinateArray(), printMatrix(), ns3::AnimationInterface::AnimPacketInfo.ProcessRxBegin(), Ratio(), ns3::PacketMetadata.ReplaceTail(), MeshTest.Report(), ns3::Hash::Example::Dictionary.ReportExpectedCollisions(), runBench(), runBenchOneIteration(), RxEvent(), SendOnePacket(), SendPacket(), ns3::DeviceNameTag.Serialize(), ns3::olsr::MessageHeader::Hna.Serialize(), ns3::Asn1Header.SerializeInteger(), ns3::RrcAsn1Header.SerializePlmnIdentity(), ns3::CapabilityInformation.Set(), ns3::Ipv4StaticRoutingHelper.SetDefaultMulticastRoute(), ns3::DeviceNameTag.SetDeviceName(), ns3::dsr::DsrMaintainBuffEntry.SetDst(), ns3::TcpTxBuffer.SetMaxBufferSize(), ns3::GridPositionAllocator.SetN(), ns3::dsr::DsrErrorBuffEntry.SetNextHop(), ns3::dsr::DsrPassiveBuffEntry.SetNextHop(), ns3::dsr::DsrMaintainBuffEntry.SetNextHop(), ns3::WifiPhy.SetNTxPower(), ns3::LogDistancePropagationLossModel.SetPathLossExponent(), ns3::LteHexGridEnbTopologyHelper.SetPositionAndInstallEnbDevice(), ns3::aodv::RoutingTableEntry.SetRreqCnt(), ns3::aodvq::RoutingTableEntry.SetRreqCnt(), ns3::VhtCapabilities.SetSupportedMcsAndNssSet(), ns3::SpectrumValue.ShiftLeft(), ns3.StringToBuffer(), ns3.TapStringToBuffer(), ns3::Time.Time(), ns3::AnimationInterface.TrackIpv4Route(), ns3::ChannelAccessManager.UpdateBackoff(), ns3::AnimationInterface.UpdatePosition(), ns3::AnimationInterface.WriteLinkProperties(), ns3::AnimationInterface.WriteN(), ns3::AnimationInterface.WriteNodeColors(), ns3::AnimationInterface.WriteNodeEnergies(), ns3::AnimationInterface.WriteNodes(), ns3::AnimationInterface.WriteNodeSizes(), ns3::AsciiTraceHelperForDevice.~AsciiTraceHelperForDevice(), ns3::AsciiTraceHelperForIpv4.~AsciiTraceHelperForIpv4(), ns3::AsciiTraceHelperForIpv6.~AsciiTraceHelperForIpv6(), ns3::tests::CommandLineTestCaseBase.~CommandLineTestCaseBase(), ns3::Object.~Object(), ns3::PcapHelperForDevice.~PcapHelperForDevice(), ns3::PcapHelperForIpv4.~PcapHelperForIpv4(), ns3::PcapHelperForIpv6.~PcapHelperForIpv6(), and ns3::QKDHelper.~QKDHelper().

sample-rng-plot.normed

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

sample-rng-plot.patches

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

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

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

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(), anonymous_namespace{gnuplot-example.cc}.Create2DPlotFile(), anonymous_namespace{gnuplot-example.cc}.Create2DPlotWithErrorBarsFile(), anonymous_namespace{gnuplot-example.cc}.Create3DPlotFile(), TestCaseHelper.CreatWaveDevice(), ns3::RadioEnvironmentMapHelper.DelayedInstall(), TcpHeaderGetSetTestCase.DoRun(), RandomVariableStreamUniformTestCase.DoRun(), TcpOptionTSTestCase.DoRun(), RandomVariableStreamUniformAntitheticTestCase.DoRun(), RandomVariableStreamNormalTestCase.DoRun(), RandomVariableStreamNormalAntitheticTestCase.DoRun(), RandomVariableStreamExponentialTestCase.DoRun(), RandomVariableStreamExponentialAntitheticTestCase.DoRun(), RandomVariableStreamParetoTestCase.DoRun(), RandomVariableStreamParetoAntitheticTestCase.DoRun(), PointerAttributeTestCase.DoRun(), RandomVariableStreamWeibullTestCase.DoRun(), RandomVariableStreamWeibullAntitheticTestCase.DoRun(), RandomVariableStreamLogNormalTestCase.DoRun(), RandomVariableStreamLogNormalAntitheticTestCase.DoRun(), RandomVariableStreamGammaTestCase.DoRun(), RandomVariableStreamGammaAntitheticTestCase.DoRun(), RandomVariableStreamErlangTestCase.DoRun(), RandomVariableStreamErlangAntitheticTestCase.DoRun(), RandomVariableStreamZipfTestCase.DoRun(), RandomVariableStreamZipfAntitheticTestCase.DoRun(), RandomVariableStreamZetaTestCase.DoRun(), RandomVariableStreamZetaAntitheticTestCase.DoRun(), RandomVariableStreamEmpiricalTestCase.DoRun(), RandomVariableStreamEmpiricalAntitheticTestCase.DoRun(), ns3::DsssErrorRateModel.DqpskFunction(), DQPSKFunction(), ns3::FixedRoomPositionAllocator.FixedRoomPositionAllocator(), ns3::GeographicPositions.GeographicToCartesianCoordinates(), ns3::DsssErrorRateModel.GetDsssDqpskCck11SuccessRate(), ns3::RandomBuildingPositionAllocator.GetNext(), ns3::OutdoorPositionAllocator.GetNext(), ns3::RandomRoomPositionAllocator.GetNext(), ns3::GridPositionAllocator.GetNext(), ns3::SameRoomPositionAllocator.GetNext(), ns3::RandomRectanglePositionAllocator.GetNext(), ns3::FixedRoomPositionAllocator.GetNext(), ns3::RandomBoxPositionAllocator.GetNext(), ns3::RandomDiscPositionAllocator.GetNext(), ns3::UniformDiscPositionAllocator.GetNext(), ns3::Building.GetRoomX(), ns3::LogNormalRandomVariable.GetValue(), ns3::GammaRandomVariable.GetValue(), ns3.isNaN(), MRG32k3a.MatVecModM(), ns3.operator<<(), ns3.operator>>(), ns3.ParseNs2Line(), ns3::PointToPointGridHelper.PointToPointGridHelper(), NetAnimExperiment.Run(), Experiment.Run(), ns3::RadioEnvironmentMapHelper.RunOneIteration(), ns3::LteHexGridEnbTopologyHelper.SetPositionAndInstallEnbDevice(), ns3::OutdoorPositionAllocator.SetX(), ns3::RandomRectanglePositionAllocator.SetX(), ns3::RandomBoxPositionAllocator.SetX(), ns3::RandomDiscPositionAllocator.SetX(), ns3::UniformDiscPositionAllocator.SetX(), and ns3::AnimationInterface.UpdatePosition().