|
Rosetta
|
Internal class to handle reaction information more easily. More...
#include <FragmentLibrary.hh>
Public Member Functions | |
| Reaction (std::string const &name, std::string const &reaction_smiles, core::Size n_reagents) | |
| ~Reaction ()=default | |
| Reaction & | operator= (Reaction const &other)=delete |
| Reaction (Reaction const &other)=delete | |
| core::Size | random_reagent_index (core::Size position) const |
| returns the index of a random reagent in a FragmentLibraries reagents_ usable for the given position in this reaction More... | |
| core::Size | calculate_possible_molecules () |
| Calculates and returns how many molecules possible with this reaction. More... | |
| core::Size | n_positions () const |
| Returns the number positions with this reaction. More... | |
| std::string | name () const |
| utility::vector1< core::Size > const & | reagents (core::Size pos) const |
| void | add_reagent (core::Size pos, core::Size reagent_idx) |
| core::Size | possible_molecules () const |
| std::shared_ptr< RDKit::ChemicalReaction > | reac () |
Private Attributes | |
| std::string | name_ |
| utility::vector1< utility::vector1< core::Size > > | reagents_ |
| std::shared_ptr< RDKit::ChemicalReaction > | reac_ |
| core::Size | possible_molecules_ = 1 |
Internal class to handle reaction information more easily.
| protocols::ligand_evolution::Reaction::Reaction | ( | std::string const & | name, |
| std::string const & | reaction_smiles, | ||
| core::Size | n_reagents | ||
| ) |
|
default |
|
delete |
|
inline |
References reagents_.
| core::Size protocols::ligand_evolution::Reaction::calculate_possible_molecules | ( | ) |
Calculates and returns how many molecules possible with this reaction.
References possible_molecules_, and reagents_.
| core::Size protocols::ligand_evolution::Reaction::n_positions | ( | ) | const |
Returns the number positions with this reaction.
References reagents_.
|
inline |
References name_.
|
inline |
References possible_molecules_.
| core::Size protocols::ligand_evolution::Reaction::random_reagent_index | ( | core::Size | position | ) | const |
returns the index of a random reagent in a FragmentLibraries reagents_ usable for the given position in this reaction
References reagents_.
|
inline |
References reac_.
|
inline |
References reagents_.
|
private |
Referenced by name().
|
private |
Referenced by calculate_possible_molecules(), and possible_molecules().
|
private |
Referenced by reac(), and Reaction().
|
private |
Referenced by add_reagent(), calculate_possible_molecules(), n_positions(), random_reagent_index(), Reaction(), and reagents().