Classes | Public Types | Public Member Functions | Private Attributes | Friends | List of all members
absl::zipf_distribution< IntType > Class Template Reference

#include <zipf_distribution.h>

Classes

class  param_type
 

Public Types

using result_type = IntType
 
using result_type = IntType
 

Public Member Functions

result_type k () const
 
result_type k () const
 
result_type() max () const
 
result_type() max () const
 
result_type() min () const
 
result_type() min () const
 
template<typename URBG >
result_type operator() (URBG &g)
 
template<typename URBG >
result_type operator() (URBG &g)
 
template<typename URBG >
result_type operator() (URBG &g, const param_type &p)
 
template<typename URBG >
result_type operator() (URBG &g, const param_type &p)
 
param_type param () const
 
param_type param () const
 
void param (const param_type &p)
 
void param (const param_type &p)
 
double q () const
 
double q () const
 
void reset ()
 
void reset ()
 
double v () const
 
double v () const
 
 zipf_distribution ()
 
 zipf_distribution ()
 
 zipf_distribution (const param_type &p)
 
 zipf_distribution (const param_type &p)
 
 zipf_distribution (result_type k, double q=2.0, double v=1.0)
 
 zipf_distribution (result_type k, double q=2.0, double v=1.0)
 

Private Attributes

param_type param_
 

Friends

bool operator!= (const zipf_distribution &a, const zipf_distribution &b)
 
bool operator!= (const zipf_distribution &a, const zipf_distribution &b)
 
bool operator== (const zipf_distribution &a, const zipf_distribution &b)
 
bool operator== (const zipf_distribution &a, const zipf_distribution &b)
 

Detailed Description

template<typename IntType = int>
class absl::zipf_distribution< IntType >

Definition at line 52 of file abseil-cpp/absl/random/zipf_distribution.h.

Member Typedef Documentation

◆ result_type [1/2]

template<typename IntType = int>
using absl::zipf_distribution< IntType >::result_type = IntType

◆ result_type [2/2]

template<typename IntType = int>
using absl::zipf_distribution< IntType >::result_type = IntType

Definition at line 54 of file abseil-cpp/absl/random/zipf_distribution.h.

Constructor & Destructor Documentation

◆ zipf_distribution() [1/6]

template<typename IntType = int>
absl::zipf_distribution< IntType >::zipf_distribution ( )
inline

Definition at line 103 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ zipf_distribution() [2/6]

template<typename IntType = int>
absl::zipf_distribution< IntType >::zipf_distribution ( result_type  k,
double  q = 2.0,
double  v = 1.0 
)
inlineexplicit

Definition at line 106 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ zipf_distribution() [3/6]

template<typename IntType = int>
absl::zipf_distribution< IntType >::zipf_distribution ( const param_type p)
inlineexplicit

Definition at line 109 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ zipf_distribution() [4/6]

template<typename IntType = int>
absl::zipf_distribution< IntType >::zipf_distribution ( )
inline

◆ zipf_distribution() [5/6]

template<typename IntType = int>
absl::zipf_distribution< IntType >::zipf_distribution ( result_type  k,
double  q = 2.0,
double  v = 1.0 
)
inlineexplicit

◆ zipf_distribution() [6/6]

template<typename IntType = int>
absl::zipf_distribution< IntType >::zipf_distribution ( const param_type p)
inlineexplicit

Member Function Documentation

◆ k() [1/2]

template<typename IntType = int>
result_type absl::zipf_distribution< IntType >::k ( ) const
inline

◆ k() [2/2]

template<typename IntType = int>
result_type absl::zipf_distribution< IntType >::k ( ) const
inline

Definition at line 122 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ max() [1/2]

template<typename IntType = int>
result_type() absl::zipf_distribution< IntType >::max ( ) const
inline

◆ max() [2/2]

template<typename IntType = int>
result_type() absl::zipf_distribution< IntType >::max ( ) const
inline

Definition at line 130 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ min() [1/2]

template<typename IntType = int>
result_type() absl::zipf_distribution< IntType >::min ( ) const
inline

◆ min() [2/2]

template<typename IntType = int>
result_type() absl::zipf_distribution< IntType >::min ( ) const
inline

Definition at line 129 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ operator()() [1/4]

template<typename IntType = int>
template<typename URBG >
result_type absl::zipf_distribution< IntType >::operator() ( URBG &  g)
inline

◆ operator()() [2/4]

template<typename IntType = int>
template<typename URBG >
result_type absl::zipf_distribution< IntType >::operator() ( URBG &  g)
inline

Definition at line 114 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ operator()() [3/4]

template<typename IntType = int>
template<typename URBG >
result_type absl::zipf_distribution< IntType >::operator() ( URBG &  g,
const param_type p 
)

◆ operator()() [4/4]

template<typename IntType >
template<typename URBG >
zipf_distribution< IntType >::result_type absl::zipf_distribution< IntType >::operator() ( URBG &  g,
const param_type p 
)

Definition at line 216 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ param() [1/4]

template<typename IntType = int>
param_type absl::zipf_distribution< IntType >::param ( ) const
inline

◆ param() [2/4]

template<typename IntType = int>
param_type absl::zipf_distribution< IntType >::param ( ) const
inline

Definition at line 126 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ param() [3/4]

template<typename IntType = int>
void absl::zipf_distribution< IntType >::param ( const param_type p)
inline

◆ param() [4/4]

template<typename IntType = int>
void absl::zipf_distribution< IntType >::param ( const param_type p)
inline

Definition at line 127 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ q() [1/2]

template<typename IntType = int>
double absl::zipf_distribution< IntType >::q ( ) const
inline

◆ q() [2/2]

template<typename IntType = int>
double absl::zipf_distribution< IntType >::q ( ) const
inline

Definition at line 123 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ reset() [1/2]

template<typename IntType = int>
void absl::zipf_distribution< IntType >::reset ( )
inline

◆ reset() [2/2]

template<typename IntType = int>
void absl::zipf_distribution< IntType >::reset ( )
inline

Definition at line 111 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ v() [1/2]

template<typename IntType = int>
double absl::zipf_distribution< IntType >::v ( ) const
inline

◆ v() [2/2]

template<typename IntType = int>
double absl::zipf_distribution< IntType >::v ( ) const
inline

Definition at line 124 of file abseil-cpp/absl/random/zipf_distribution.h.

Friends And Related Function Documentation

◆ operator!= [1/2]

template<typename IntType = int>
bool operator!= ( const zipf_distribution< IntType > &  a,
const zipf_distribution< IntType > &  b 
)
friend

◆ operator!= [2/2]

template<typename IntType = int>
bool operator!= ( const zipf_distribution< IntType > &  a,
const zipf_distribution< IntType > &  b 
)
friend

Definition at line 136 of file abseil-cpp/absl/random/zipf_distribution.h.

◆ operator== [1/2]

template<typename IntType = int>
bool operator== ( const zipf_distribution< IntType > &  a,
const zipf_distribution< IntType > &  b 
)
friend

◆ operator== [2/2]

template<typename IntType = int>
bool operator== ( const zipf_distribution< IntType > &  a,
const zipf_distribution< IntType > &  b 
)
friend

Definition at line 132 of file abseil-cpp/absl/random/zipf_distribution.h.

Member Data Documentation

◆ param_

template<typename IntType = int>
param_type absl::zipf_distribution< IntType >::param_
private

Definition at line 142 of file abseil-cpp/absl/random/zipf_distribution.h.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:26