Rosetta Protocols  2014.35
Public Member Functions | Private Attributes | List of all members
protocols::genetic_algorithm::DiscreteRandomizer Class Reference

#include <EntityRandomizer.hh>

Public Member Functions

virtual ~DiscreteRandomizer ()
 
virtual void add_choice (EntityElementOP const &choice)
 
virtual void set_choices (EntityElements const &choices)
 
virtual void mutate (Entity &entity)
 
virtual core::Size library_size () const
 
virtual EntityElements const & choices () const
 
- Public Member Functions inherited from protocols::genetic_algorithm::EntityRandomizer
 EntityRandomizer ()
 
virtual ~EntityRandomizer ()
 
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::owning_ptr
< EntityRandomizer
OP
 
typedef
utility::pointer::owning_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 ( )
virtual

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
virtual
void protocols::genetic_algorithm::DiscreteRandomizer::mutate ( Entity entity)
virtual
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: