Variables | |
float | alpha = 0.75 |
Plot alpha value (transparency) More... | |
int | density = 1 |
Make a probability density histogram. More... | |
string | facecolor = 'g' |
Plot color More... | |
rng = ns.core.NormalRandomVariable() | |
Random number generator. More... | |
list | x = [rng.GetValue() for t in range(10000)] |
Random number samples. More... | |
sample-rng-plot.alpha = 0.75 |
Plot alpha value (transparency)
Definition at line 46 of file sample-rng-plot.py.
Referenced by UniformPlanarArrayTestCase.BuildNameString(), ns3::ThreeGppSpectrumPropagationLossModel.CalcBeamformingGain(), ns3::test::RandomVariable::GammaTestCase.ChiSquaredTest(), ns3::test::RandomVariable::GammaAntitheticTestCase.ChiSquaredTest(), ns3::UanMacRcGw.ComputeAlpha(), ns3::JakesProcess.ConstructOscillators(), ns3::test::RandomVariable::GammaTestCase.DoRun(), ns3::test::RandomVariable::GammaAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ZipfTestCase.DoRun(), ns3::test::RandomVariable::ZipfAntitheticTestCase.DoRun(), ns3::test::RandomVariable::ZetaTestCase.DoRun(), ns3::test::RandomVariable::ZetaAntitheticTestCase.DoRun(), ns3::TcpWestwood.EstimateBW(), ns3::ThreeGppChannelModel.GenerateChannelParameters(), ns3::ZetaRandomVariable.GetInteger(), ns3::GammaRandomVariable.GetInteger(), ns3::ZipfRandomVariable.GetInteger(), ns3::ZetaRandomVariable.GetValue(), ns3::GammaRandomVariable.GetValue(), ns3::ZipfRandomVariable.GetValue(), TcpVegasTest.IncreaseWindow(), TcpYeahIncrementTest.IncreaseWindow(), ns3::TcpDctcp.InitializeDctcpAlpha(), ns3::GeographicPositions.RandCartesianPointsAroundGeographicPoint(), ns3::ThompsonSamplingWifiManager.SampleBetaVariable(), ns3::UniformPlanarArray.SetAlpha(), ns3::RvBatteryModel.SetAlpha(), ns3::RedQueueDisc.SetAredAlpha(), and ns3::RedQueueDisc.UpdateMaxP().
sample-rng-plot.density = 1 |
Make a probability density histogram.
Definition at line 42 of file sample-rng-plot.py.
Referenced by ns3::TvSpectrumTransmitterHelper.CreateRegionalTvTransmitters(), ns3::TvSpectrumTransmitterHelper.GenerateRegionalTransmitterIndices(), and ns3::TvSpectrumTransmitterHelper.GetRandomNumTransmitters().
sample-rng-plot.facecolor = 'g' |
Plot color
Definition at line 44 of file sample-rng-plot.py.
sample-rng-plot.rng = ns.core.NormalRandomVariable() |
Random number generator.
Definition at line 33 of file sample-rng-plot.py.
Referenced by ns3::test::RandomVariable::TestCaseBase.Average(), ns3::test::RandomVariable::TestCaseBase.ChiSquared(), ns3::test::RandomVariable::TestCaseBase.ChiSquaredsAverage(), ns3::test::RandomVariable::UniformTestCase.ChiSquaredTest(), ns3::test::RandomVariable::UniformAntitheticTestCase.ChiSquaredTest(), ns3::test::RandomVariable::NormalTestCase.ChiSquaredTest(), ns3::test::RandomVariable::NormalAntitheticTestCase.ChiSquaredTest(), ns3::test::RandomVariable::ExponentialTestCase.ChiSquaredTest(), ns3::test::RandomVariable::ExponentialAntitheticTestCase.ChiSquaredTest(), ns3::test::RandomVariable::ParetoTestCase.ChiSquaredTest(), ns3::test::RandomVariable::ParetoAntitheticTestCase.ChiSquaredTest(), ns3::test::RandomVariable::WeibullTestCase.ChiSquaredTest(), ns3::test::RandomVariable::WeibullAntitheticTestCase.ChiSquaredTest(), ns3::test::RandomVariable::LogNormalTestCase.ChiSquaredTest(), ns3::test::RandomVariable::LogNormalAntitheticTestCase.ChiSquaredTest(), ns3::test::RandomVariable::GammaTestCase.ChiSquaredTest(), ns3::test::RandomVariable::GammaAntitheticTestCase.ChiSquaredTest(), ns3::test::RandomVariable::ErlangTestCase.ChiSquaredTest(), ns3::test::RandomVariable::ErlangAntitheticTestCase.ChiSquaredTest(), ns3::test::RandomVariable::TestCaseBase::RngGenerator< RNG >.Create(), ns3::test::RandomVariable::UniformTestCase.DoRun(), and ns3::test::RandomVariable::NormalTestCase.DoRun().
Random number samples.
Definition at line 37 of file sample-rng-plot.py.
Referenced by ns3::FixedRoomPositionAllocator.FixedRoomPositionAllocator(), ns3::PointToPointGridHelper.PointToPointGridHelper(), _cairo_uint_96by64_32x64_divrem(), ns3::SpectrumValue.Add(), ns3::ListPositionAllocator.Add(), ns3::Gnuplot2dDataset.Add(), ns3::Gnuplot3dDataset.Add(), ns3::dot11s::IeBeaconTiming.AidToU8(), LteEnbAntennaTestCase.BuildNameString(), ns3::ThreeGppChannelConditionModel.Calculate2dDistance(), ns3::ThreeGppPropagationLossModel.Calculate2dDistance(), ns3.cell_tooltip_callback(), ns3.cell_tooltip_callback_config_default(), nlohmann::detail::external_constructor< value_t::array >.construct(), 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(), PointerAttributeTestCase.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(), 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(), TcpHeaderGetSetTestCase.DoRun(), TcpOptionTSTestCase.DoRun(), ns3::DsssErrorRateModel.DqpskFunction(), DQPSKFunction(), f(), ns3::GeographicPositions.GeographicToCartesianCoordinates(), nlohmann::json_pointer< BasicJsonType >.get_unchecked(), ns3::ThreeGppChannelModel.GetChannel(), ns3::ThreeGppChannelModel.GetNewChannel(), ns3::RandomBuildingPositionAllocator.GetNext(), ns3::OutdoorPositionAllocator.GetNext(), ns3::RandomRoomPositionAllocator.GetNext(), ns3::SameRoomPositionAllocator.GetNext(), ns3::FixedRoomPositionAllocator.GetNext(), ns3::GridPositionAllocator.GetNext(), ns3::RandomRectanglePositionAllocator.GetNext(), ns3::RandomBoxPositionAllocator.GetNext(), ns3::RandomDiscPositionAllocator.GetNext(), ns3::UniformDiscPositionAllocator.GetNext(), ns3::Building.GetRoomX(), ns3::GammaRandomVariable.GetValue(), ns3::LogNormalRandomVariable.GetValue(), ns3.isNaN(), MRG32k3a.MatVecModM(), SpectrumValueTestCase.MoreOrLessEqual(), nlohmann::detail::dtoa_impl::diyfp.mul(), ns3::SpectrumValue.Multiply(), NoneDbToDb(), nlohmann::detail::dtoa_impl::diyfp.normalize(), nlohmann::detail::dtoa_impl::diyfp.normalize_to(), ns3::PacketSink::AddressHash.operator()(), ns3::QKDApp004::AddressHash.operator()(), ns3::QKDApp014::AddressHash.operator()(), ns3::QKDKeyManagerSystemApplication::AddressHash.operator()(), ns3::QKDSDNController::AddressHash.operator()(), ns3::Ipv4AddressHash.operator()(), ns3::Ipv6AddressHash.operator()(), ns3.operator<<(), operator==(), ns3.ParseNs2Line(), QFunction(), ns3::Hash::Function::Murmur3Implementation.rotl32(), ns3::Hash::Function::Murmur3Implementation.rotl64(), NetAnimExperiment.Run(), Experiment.Run(), ns3::RadioEnvironmentMapHelper.RunOneIteration(), nlohmann::detail::lexer< BasicJsonType, InputAdapterType >.scan_number(), ns3::AnimationInterface.SetBackgroundImage(), ns3::AnimationInterface.SetConstantPosition(), ns3::LteHexGridEnbTopologyHelper.SetPositionAndInstallEnbDevice(), ns3::RandomDiscPositionAllocator.SetX(), ns3::UniformDiscPositionAllocator.SetX(), ns3::OutdoorPositionAllocator.SetX(), ns3::RandomRectanglePositionAllocator.SetX(), ns3::RandomBoxPositionAllocator.SetX(), LteFrAreaTestCase.SimpleTeleportUe(), nlohmann::detail::dtoa_impl::diyfp.sub(), ns3::SpectrumValue.Subtract(), LteFrAreaTestCase.TeleportUe(), LteUplinkPowerControlTestCase.TeleportUe(), LteFrAreaTestCase.TeleportUe2(), ns3::dot11s::PeerManagementProtocol.TimeToTu(), nlohmann::detail::binary_writer< BasicJsonType, CharType >.to_char_type(), ns3::dot11s::PeerManagementProtocol.TuToTime(), ns3::Average< T >.Update(), ns3::AnimationInterface.UpdatePosition(), ns3::GnuplotAggregator.Write2d(), ns3::GnuplotAggregator.Write2dWithXErrorDelta(), ns3::GnuplotAggregator.Write2dWithXYErrorDelta(), ns3::GnuplotAggregator.Write2dWithYErrorDelta(), ns3::AnimationInterface.WriteXmlUpdateBackground(), and ns3::AnimationInterface.WriteXmlUpdateNodePosition().