Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
protocols::genetic_algorithm::DiscreteRandomizer Class Reference

#include <EntityRandomizer.hh>

Inheritance diagram for protocols::genetic_algorithm::DiscreteRandomizer:
Inheritance graph
[legend]

Public Member Functions

 ~DiscreteRandomizer () override
 
virtual void add_choice (EntityElementOP const &choice)
 
virtual void set_choices (EntityElements const &choices)
 
void mutate (Entity &entity) override
 
core::Size library_size () const override
 
virtual EntityElements const & choices () const
 
- Public Member Functions inherited from protocols::genetic_algorithm::EntityRandomizer
 EntityRandomizer ()
 
 ~EntityRandomizer () override
 
virtual EntityOP random_entity ()
 
virtual void crossover (Entity &entity1, Entity &entity2)
 randomly swap [1, N-1] traits between two entities More...
 
virtual core::Size entity_length () const
 
virtual void set_mutation_rate (core::Real rate)
 
virtual core::Real mutation_rate () const
 
virtual EntityCOP entity_template () const
 
virtual void set_entity_template (EntityCOP entity)
 

Private Attributes

EntityElements choices_
 

Additional Inherited Members

- Public Types inherited from protocols::genetic_algorithm::EntityRandomizer
typedef
utility::pointer::shared_ptr
< EntityRandomizer
OP
 
typedef
utility::pointer::shared_ptr
< EntityRandomizer const > 
COP
 
typedef Entity::OP EntityOP
 
typedef Entity::COP EntityCOP
 
- Protected Member Functions inherited from protocols::genetic_algorithm::EntityRandomizer
virtual void set_entity_length (core::Size length)
 

Constructor & Destructor Documentation

protocols::genetic_algorithm::DiscreteRandomizer::~DiscreteRandomizer ( )
overridedefault

Member Function Documentation

void protocols::genetic_algorithm::DiscreteRandomizer::add_choice ( EntityElementOP const &  choice)
virtual

References choices_.

EntityElements const & protocols::genetic_algorithm::DiscreteRandomizer::choices ( ) const
virtual

References choices_.

Referenced by set_choices().

core::Size protocols::genetic_algorithm::DiscreteRandomizer::library_size ( ) const
overridevirtual
void protocols::genetic_algorithm::DiscreteRandomizer::mutate ( Entity entity)
overridevirtual
void protocols::genetic_algorithm::DiscreteRandomizer::set_choices ( EntityElements const &  choices)
virtual

References choices(), and choices_.

Member Data Documentation

EntityElements protocols::genetic_algorithm::DiscreteRandomizer::choices_
private

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