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

#include <MultistateFitnessFunction.hh>

Inheritance diagram for protocols::pack_daemon::MultistateFitnessFunction:
Inheritance graph
[legend]

Public Types

typedef
protocols::genetic_algorithm::FitnessFunction 
parent
 
typedef
protocols::genetic_algorithm::Entity 
Entity
 
typedef
protocols::genetic_algorithm::EntityOP 
EntityOP
 
typedef utility::vector1
< core::Real
StateEnergies
 
typedef std::pair
< StateEnergies, StateEnergies
StateEnergiesAndNPDs
 
typedef core::pose::PoseOP PoseOP
 
typedef core::pose::Pose Pose
 
typedef core::Real Real
 
typedef core::Size Size
 
typedef std::pair< EntityOP,
StateEnergiesAndNPDs
EntityAndScore
 
typedef utility::vector1
< EntityAndScore
EntityHistory
 
- Public Types inherited from protocols::genetic_algorithm::FitnessFunction
typedef
utility::pointer::shared_ptr
< FitnessFunction
OP
 
typedef
utility::pointer::shared_ptr
< FitnessFunction const > 
COP
 

Public Member Functions

 MultistateFitnessFunction ()
 
 ~MultistateFitnessFunction () override
 
core::Real evaluate (Entity &entity) override
 
StateEnergies const & state_energies () const
 
StateEnergies const & npd_properties () const
 
void daemon_set (DaemonSetOP ds)
 
void aggregate_function (MultistateAggregateFunctionOP func)
 
DaemonSetCOP daemon_set () const
 
MultistateAggregateFunctionCOP aggregate_function () const
 
void set_history_size (core::Size history_size)
 
void clear_history ()
 
std::list< std::pair
< core::Size, PoseOP > > 
recover_relevant_poses_for_entity (Entity const &)
 
- Public Member Functions inherited from protocols::genetic_algorithm::FitnessFunction
 ~FitnessFunction () override=default
 

Protected Member Functions

virtual void compute_state_energies (Entity const &entity)
 
virtual core::Real compute_aggregate_score (Entity const &entity)
 
virtual void instruct_daemons_to_keep_last_entity ()
 
virtual void instruct_daemons_to_drop_entity (Entity const &entity)
 
virtual std::list< std::pair
< core::Size, PoseOP > > 
recover_poses_from_states (Entity const &, utility::vector1< core::Size > const &which_states)
 
utility::vector1< core::Real > & state_energies ()
 
utility::vector1< core::Real > & npd_properties ()
 
DaemonSetOP daemon_set ()
 
MultistateAggregateFunctionOP aggregate_function ()
 
core::Size which_top_entity (Entity const &ent) const
 
void update_entity_history (Entity const &ent)
 

Private Attributes

DaemonSetOP daemon_set_
 
StateEnergies state_energies_
 
StateEnergies npd_properties_
 
MultistateAggregateFunctionOP aggregate_
 
TopEntitySet top_entities_
 

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::pack_daemon::MultistateFitnessFunction::MultistateFitnessFunction ( )

References set_history_size().

protocols::pack_daemon::MultistateFitnessFunction::~MultistateFitnessFunction ( )
overridedefault

Member Function Documentation

void protocols::pack_daemon::MultistateFitnessFunction::aggregate_function ( MultistateAggregateFunctionOP  func)

References aggregate_.

MultistateAggregateFunctionCOP protocols::pack_daemon::MultistateFitnessFunction::aggregate_function ( ) const

References aggregate_.

MultistateAggregateFunctionOP protocols::pack_daemon::MultistateFitnessFunction::aggregate_function ( )
protected

References aggregate_.

void protocols::pack_daemon::MultistateFitnessFunction::clear_history ( )
core::Real protocols::pack_daemon::MultistateFitnessFunction::compute_aggregate_score ( Entity const &  entity)
protectedvirtual

References aggregate_, npd_properties_, and state_energies_.

Referenced by evaluate().

void protocols::pack_daemon::MultistateFitnessFunction::compute_state_energies ( Entity const &  entity)
protectedvirtual
void protocols::pack_daemon::MultistateFitnessFunction::daemon_set ( DaemonSetOP  ds)
DaemonSetCOP protocols::pack_daemon::MultistateFitnessFunction::daemon_set ( ) const
DaemonSetOP protocols::pack_daemon::MultistateFitnessFunction::daemon_set ( )
protected

References daemon_set_.

core::Real protocols::pack_daemon::MultistateFitnessFunction::evaluate ( Entity entity)
overridevirtual
void protocols::pack_daemon::MultistateFitnessFunction::instruct_daemons_to_drop_entity ( Entity const &  entity)
protectedvirtual
void protocols::pack_daemon::MultistateFitnessFunction::instruct_daemons_to_keep_last_entity ( )
protectedvirtual
utility::vector1< core::Real > const & protocols::pack_daemon::MultistateFitnessFunction::npd_properties ( ) const
utility::vector1< core::Real > & protocols::pack_daemon::MultistateFitnessFunction::npd_properties ( )
protected

References npd_properties_.

std::list< std::pair< MultistateFitnessFunction::Size, MultistateFitnessFunction::PoseOP > > protocols::pack_daemon::MultistateFitnessFunction::recover_poses_from_states ( Entity const &  ent,
utility::vector1< core::Size > const &  which_states 
)
protectedvirtual
std::list< std::pair< MultistateFitnessFunction::Size, MultistateFitnessFunction::PoseOP > > protocols::pack_daemon::MultistateFitnessFunction::recover_relevant_poses_for_entity ( Entity const &  ent)
void protocols::pack_daemon::MultistateFitnessFunction::set_history_size ( core::Size  history_size)
utility::vector1< core::Real > const & protocols::pack_daemon::MultistateFitnessFunction::state_energies ( ) const
utility::vector1< core::Real > & protocols::pack_daemon::MultistateFitnessFunction::state_energies ( )
protected

References state_energies_.

void protocols::pack_daemon::MultistateFitnessFunction::update_entity_history ( Entity const &  ent)
protected
core::Size protocols::pack_daemon::MultistateFitnessFunction::which_top_entity ( Entity const &  ent) const
protected

Member Data Documentation

MultistateAggregateFunctionOP protocols::pack_daemon::MultistateFitnessFunction::aggregate_
private
DaemonSetOP protocols::pack_daemon::MultistateFitnessFunction::daemon_set_
private
StateEnergies protocols::pack_daemon::MultistateFitnessFunction::npd_properties_
private
StateEnergies protocols::pack_daemon::MultistateFitnessFunction::state_energies_
private
TopEntitySet protocols::pack_daemon::MultistateFitnessFunction::top_entities_
private

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