![]() |
Rosetta
2021.16
|
#include <MultistateFitnessFunction.hh>

Public Types | |
| 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 std::pair< EntityOP, StateEnergiesAndNPDs > | EntityAndScore |
| typedef utility::vector1 < EntityAndScore > | EntityHistory |
Public Member Functions | |
| TopEntitySet () | |
| core::Size | size () const |
| EntityAndScore const & | operator[] (core::Size index) const |
| EntityAndScore & | operator[] (core::Size index) |
| void | desired_entity_history_size (core::Size setting) |
| core::Size | desired_entity_history_size () const |
| void | clear () |
| std::list < genetic_algorithm::EntityOP > | update_entity_history (Entity const &ent, StateEnergiesAndNPDs const &seanpds, bool &added_new_entity) |
| Update the internal history after receiving a new entity; returns the list of entities that are to be discarded. The boolean added_new_entity is set to true if the given entity was added to the the list of top entities. More... | |
| core::Size | index_of_entity (Entity const &ent) const |
| EntityAndScore | pop () |
| remove the worst entity from the set and return it More... | |
Private Attributes | |
| core::Size | desired_entity_history_size_ |
| core::Size | n_tied_for_worst_ |
| EntityHistory | top_entities_ |
| typedef std::pair< EntityOP, StateEnergiesAndNPDs > protocols::pack_daemon::TopEntitySet::EntityAndScore |
| typedef utility::vector1< EntityAndScore > protocols::pack_daemon::TopEntitySet::EntityHistory |
| typedef utility::vector1< core::Real > protocols::pack_daemon::TopEntitySet::StateEnergies |
| typedef std::pair< StateEnergies, StateEnergies > protocols::pack_daemon::TopEntitySet::StateEnergiesAndNPDs |
| protocols::pack_daemon::TopEntitySet::TopEntitySet | ( | ) |
| void protocols::pack_daemon::TopEntitySet::clear | ( | ) |
References n_tied_for_worst_, and top_entities_.
Referenced by protocols::pack_daemon::MultistateFitnessFunction::clear_history().
| void protocols::pack_daemon::TopEntitySet::desired_entity_history_size | ( | core::Size | setting | ) |
References desired_entity_history_size_, n_tied_for_worst_, and top_entities_.
Referenced by protocols::pack_daemon::MultistateFitnessFunction::set_history_size().
| core::Size protocols::pack_daemon::TopEntitySet::desired_entity_history_size | ( | ) | const |
References desired_entity_history_size_.
| core::Size protocols::pack_daemon::TopEntitySet::index_of_entity | ( | Entity const & | ent | ) | const |
References top_entities_.
Referenced by protocols::pack_daemon::MultistateFitnessFunction::recover_relevant_poses_for_entity().
| TopEntitySet::EntityAndScore const & protocols::pack_daemon::TopEntitySet::operator[] | ( | core::Size | index | ) | const |
References top_entities_.
| TopEntitySet::EntityAndScore & protocols::pack_daemon::TopEntitySet::operator[] | ( | core::Size | index | ) |
References top_entities_.
| TopEntitySet::EntityAndScore protocols::pack_daemon::TopEntitySet::pop | ( | ) |
remove the worst entity from the set and return it
References top_entities_.
| core::Size protocols::pack_daemon::TopEntitySet::size | ( | ) | const |
References top_entities_.
Referenced by protocols::pack_daemon::MultistateFitnessFunction::recover_relevant_poses_for_entity().
| std::list< TopEntitySet::EntityOP > protocols::pack_daemon::TopEntitySet::update_entity_history | ( | Entity const & | ent, |
| StateEnergiesAndNPDs const & | seanpds, | ||
| bool & | added_new_entity | ||
| ) |
Update the internal history after receiving a new entity; returns the list of entities that are to be discarded. The boolean added_new_entity is set to true if the given entity was added to the the list of top entities.
References desired_entity_history_size_, protocols::genetic_algorithm::Entity::fitness(), n_tied_for_worst_, and top_entities_.
Referenced by protocols::pack_daemon::MultistateFitnessFunction::update_entity_history().
|
private |
Referenced by desired_entity_history_size(), and update_entity_history().
|
private |
Referenced by clear(), desired_entity_history_size(), and update_entity_history().
|
private |
Referenced by clear(), desired_entity_history_size(), index_of_entity(), operator[](), pop(), size(), and update_entity_history().
1.8.7