Vita
Public Member Functions | List of all members
vita::as_is_validation Class Referencefinal

A "null object" implementation of validation_strategy. More...

#include <validation_strategy.h>

Inherits vita::validation_strategy.

Public Member Functions

void init (unsigned) override
 Initializes the data structures needed for the validation strategy. More...
 
- Public Member Functions inherited from vita::validation_strategy
virtual void close (unsigned)
 De-initializes the data structures needed for the validation strategy. More...
 
virtual void init (unsigned)=0
 Initializes the data structures needed for the validation strategy. More...
 
virtual bool shake (unsigned)
 Changes the training environment. More...
 

Detailed Description

A "null object" implementation of validation_strategy.

Implements the interface of a validation_strategy with empty body methods (it's very predictable and has no side effects: it does nothing).

See also
https://en.wikipedia.org/wiki/Null_Object_pattern

Definition at line 60 of file validation_strategy.h.

Member Function Documentation

◆ init()

void vita::as_is_validation::init ( unsigned  )
inlineoverridevirtual

Initializes the data structures needed for the validation strategy.

Note
Called at the beginning of the evolution (one time per run).

Implements vita::validation_strategy.

Definition at line 63 of file validation_strategy.h.


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