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

different set of choices at each position in Entity's traits More...

#include <EntityRandomizer.hh>

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

Public Types

typedef
utility::pointer::shared_ptr
< PositionSpecificRandomizer
OP
 
typedef
utility::pointer::shared_ptr
< PositionSpecificRandomizer
const > 
COP
 
- 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
 

Public Member Functions

 ~PositionSpecificRandomizer () override
 
virtual void append_choices (EntityElements const &choices)
 
void mutate (Entity &entity) override
 
core::Size library_size () const override
 
virtual utility::vector1
< 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

utility::vector1< EntityElementschoices_
 

Additional Inherited Members

- Protected Member Functions inherited from protocols::genetic_algorithm::EntityRandomizer
virtual void set_entity_length (core::Size length)
 

Detailed Description

different set of choices at each position in Entity's traits

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::genetic_algorithm::PositionSpecificRandomizer::~PositionSpecificRandomizer ( )
overridedefault

Member Function Documentation

void protocols::genetic_algorithm::PositionSpecificRandomizer::append_choices ( EntityElements const &  choices)
virtual
utility::vector1< EntityElements > const & protocols::genetic_algorithm::PositionSpecificRandomizer::choices ( ) const
virtual
core::Size protocols::genetic_algorithm::PositionSpecificRandomizer::library_size ( ) const
overridevirtual
void protocols::genetic_algorithm::PositionSpecificRandomizer::mutate ( Entity entity)
overridevirtual

Member Data Documentation

utility::vector1< EntityElements > protocols::genetic_algorithm::PositionSpecificRandomizer::choices_
private

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