Skip to content

Review Strategies

Classes

Name
class sam::PolicyBasedSelection
Policy-based Selection Strategy.
class sam::SignificantSelection
Significant-based Selection Strategy.
class sam::RandomSelection
Random Selection Strategy.
class sam::FreeSelection
FreeSelection doesn't pose any restriction on the submission and all submissions will be accepted.

Functions

Name
NLOHMANN_JSON_SERIALIZE_ENUM(SelectionMethod , {{SelectionMethod::PolicyBasedSelection, "PolicyBasedSelection"}, {SelectionMethod::SignificantSelection, "SignificantSelection"}, {SelectionMethod::RandomSelection, "RandomSelection"}, {SelectionMethod::FreeSelection, "FreeSelection"}} )
Abstract class for Journal's selection strategies.

Functions Documentation

function NLOHMANN_JSON_SERIALIZE_ENUM

NLOHMANN_JSON_SERIALIZE_ENUM(
    SelectionMethod ,
    {{SelectionMethod::PolicyBasedSelection, "PolicyBasedSelection"}, {SelectionMethod::SignificantSelection, "SignificantSelection"}, {SelectionMethod::RandomSelection, "RandomSelection"}, {SelectionMethod::FreeSelection, "FreeSelection"}} 
)

Abstract class for Journal's selection strategies.

        A Journal will decide if a Submission is going to be accepted or
        rejected. This decision can be made based on different criteria
        or formula. A ReviewStrategy provides an interface for
        implementing different selection strategies.

Pure destructors of the base class

Lua's state

Selection method's name

Constructs the Review Strategy

Factory method for building a ReviewStrategy

The abstract review method

        It reviews the submissions and decides if it's going to be
        accepted or rejected. When deriving from ReviewStrategy,
        `review` is the main interface and `Journal` relies on its
        output

sA reference to a Submission

Returns 'true' if the any of the submissions are going to be accepted.

The abstract review method.

        Like the method above, but this one reviews the entire
        Experiment instead.

It's not yet been used anywhere though SAM, but it will eventually replace the submission review method.

exprThe experiment

Returns true if the Experiment is going to be accepted.


Updated on 29 June 2021 at 16:13:48 CEST


Last update: 2021-09-18