Rosetta
Public Member Functions | Private Attributes | List of all members
protocols::ligand_evolution::ElitistSelector Class Reference

Selects only the best scored individuals. More...

#include <ElitistSelector.hh>

Inheritance diagram for protocols::ligand_evolution::ElitistSelector:
Inheritance graph
[legend]

Public Member Functions

utility::vector1< Individualapply (Population &population, core::Size size, bool remove) const override
 Returns the indices of the size fittest individuals in population. More...
 
std::string const & name () const override
 Return the name of this selector. More...
 

Private Attributes

std::string name_ = "ElitistSelector"
 

Detailed Description

Selects only the best scored individuals.

Member Function Documentation

◆ apply()

utility::vector1< Individual > protocols::ligand_evolution::ElitistSelector::apply ( Population population,
core::Size  size,
bool  remove 
) const
overridevirtual

◆ name()

std::string const & protocols::ligand_evolution::ElitistSelector::name ( ) const
overridevirtual

Return the name of this selector.

Implements protocols::ligand_evolution::Selector.

References name_.

Member Data Documentation

◆ name_

std::string protocols::ligand_evolution::ElitistSelector::name_ = "ElitistSelector"
private

Referenced by name().


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