Rosetta
|
#include <T60.custom_shared.hpp>
Public Types | |
enum | AE1 { AE1_V0 , AE1_V1 , AE1_V0 , AE1_V1 } |
enum class | AE2_struct { AE3_V0 , AE3_V1 , AE3_V0 , AE3_V1 } |
enum class | AE3_class { AE2_V0 , AE2_V1 , AE2_V0 , AE2_V1 } |
enum | AE1 { AE1_V0 , AE1_V1 , AE1_V0 , AE1_V1 } |
enum class | AE2_struct { AE3_V0 , AE3_V1 , AE3_V0 , AE3_V1 } |
enum class | AE3_class { AE2_V0 , AE2_V1 , AE2_V0 , AE2_V1 } |
Public Member Functions | |
void | foo (T &) |
Public Attributes | |
T | t_value |
T * | t_pointer |
Protected Types | |
enum | AE3_not_binded { AE3_V0_not_binded , AE3_V1_not_binded , AE3_V0_not_binded , AE3_V1_not_binded } |
enum class | AE4_not_binded { AE4_V0_not_binded , AE4_V1_not_binded , AE4_V0_not_binded , AE4_V1_not_binded } |
enum | AE3_not_binded { AE3_V0_not_binded , AE3_V1_not_binded , AE3_V0_not_binded , AE3_V1_not_binded } |
enum class | AE4_not_binded { AE4_V0_not_binded , AE4_V1_not_binded , AE4_V0_not_binded , AE4_V1_not_binded } |
Private Types | |
enum | AE5_not_binded { AE5_V0_not_binded , AE5_V1_not_binded , AE5_V0_not_binded , AE5_V1_not_binded } |
enum class | AE6_not_binded { AE6_V0_not_binded , AE6_V1_not_binded , AE6_V0_not_binded , AE6_V1_not_binded } |
enum | AE5_not_binded { AE5_V0_not_binded , AE5_V1_not_binded , AE5_V0_not_binded , AE5_V1_not_binded } |
enum class | AE6_not_binded { AE6_V0_not_binded , AE6_V1_not_binded , AE6_V0_not_binded , AE6_V1_not_binded } |
Friends | |
std::ostream & | operator<< (std::ostream &os, A const &) |
for associating a real-valued weight with an item. Overloads operator< for use in sorted containers.
weighted reservoir sampling. Retrieves M samples from a population of N items in time O(N) and space O(M).
Requirements:
enum A::AE1 |
enum A::AE1 |
|
strong |
|
strong |
|
strong |
|
strong |
|
protected |
|
protected |
|
strongprotected |
|
strongprotected |
|
private |
|
private |
|
strongprivate |
|
strongprivate |