sam::RandomSelection¶
Module: Review Strategies
Random Selection Strategy. More...
#include <ReviewStrategy.h>
Inherits from ReviewStrategy
Public Classes¶
Name | |
---|---|
struct | Parameters Parameter of Random Selection review strategy. |
Public Functions¶
Name | |
---|---|
RandomSelection(const Parameters & p) | |
bool | review(const std::vector< Submission > & s) override |
bool | review(const Experiment & expr) override |
Public Attributes¶
Name | |
---|---|
Parameters | params |
Detailed Description¶
class sam::RandomSelection;
Random Selection Strategy.
In this method, Journal does not check any criteria for
accepting or rejecting a submission. The `acceptance_rate` will
decide the acceptance or rejection of a list of submissions.
Public Functions Documentation¶
function RandomSelection¶
inline explicit RandomSelection(
const Parameters & p
)
function review¶
bool review(
const std::vector< Submission > & s
) override
Parameters:
- s corresponding submission
Return: a boolean indicating whether the Submission is accepted.
Based on a draw from r \in [0, 1] , it accepts the submission if r < acceptance_rate
.
function review¶
inline bool review(
const Experiment & expr
) override
Public Attributes Documentation¶
variable params¶
Parameters params;
Updated on 29 June 2021 at 16:13:48 CEST
Last update: 2021-09-18