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::pack_daemon::IterativeVectorExpression Class Reference

#include <DynamicAggregateFunction.hh>

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

Public Types

typedef VectorExpression parent
 
typedef
numeric::expression_parser::ArithmeticASTExpression 
ArithmeticASTExpression
 
typedef
numeric::expression_parser::VariableExpressionOP 
VariableExpressionOP
 
typedef
numeric::expression_parser::VariableExpressionCOP 
VariableExpressionCOP
 
- Public Types inherited from protocols::pack_daemon::VectorExpression
typedef
numeric::expression_parser::Expression 
parent
 
typedef utility::vector1
< core::Real
values
 
typedef
numeric::expression_parser::ExpressionCOP 
ExpressionCOP
 

Public Member Functions

 IterativeVectorExpression (std::string const &name)
 
 ~IterativeVectorExpression () override
 
void initialize (std::map< std::string, VectorExpressionCOP > const &vector_varnames, ArithmeticASTExpression const &expresion_ast, VectorExpressionCreator &expression_creator)
 
values vector_values () const override
 
core::Size size () const override
 Returns the number of vector values that this Expression returns without computing those values. More...
 
numeric::expression_parser::VariableExpressionCOP local_variable (std::string const &varname) const
 
std::list< std::string > active_variables () const override
 
utility::vector1< std::list
< std::string > > 
active_variables_vector () const override
 
- Public Member Functions inherited from protocols::pack_daemon::VectorExpression
 VectorExpression (std::string const &name)
 
 ~VectorExpression () override
 
core::Real operator() () const override
 DO NOT CALL THIS FUNCTION. Vector expressions return vectors of values instead of a singular value. More...
 
numeric::expression_parser::ExpressionCOP differentiate (std::string const &varname) const override
 DO NOT CALL THIS FUNCTION. Vector expressions cannot be differentiated. More...
 
std::string const & name () const
 

Private Attributes

utility::vector1
< VectorExpressionCOP
input_vector_expressions_
 
utility::vector1
< VariableExpressionOP
local_variables_
 
std::map< std::string,
VariableExpressionCOP
local_variable_map_
 
ExpressionCOP expression_
 

Member Typedef Documentation

typedef numeric::expression_parser::ArithmeticASTExpression protocols::pack_daemon::IterativeVectorExpression::ArithmeticASTExpression
typedef numeric::expression_parser::VariableExpressionCOP protocols::pack_daemon::IterativeVectorExpression::VariableExpressionCOP
typedef numeric::expression_parser::VariableExpressionOP protocols::pack_daemon::IterativeVectorExpression::VariableExpressionOP

Constructor & Destructor Documentation

protocols::pack_daemon::IterativeVectorExpression::IterativeVectorExpression ( std::string const &  name)
protocols::pack_daemon::IterativeVectorExpression::~IterativeVectorExpression ( )
overridedefault

Member Function Documentation

std::list< std::string > protocols::pack_daemon::IterativeVectorExpression::active_variables ( ) const
override
utility::vector1< std::list< std::string > > protocols::pack_daemon::IterativeVectorExpression::active_variables_vector ( ) const
overridevirtual
void protocols::pack_daemon::IterativeVectorExpression::initialize ( std::map< std::string, VectorExpressionCOP > const &  vector_varnames,
ArithmeticASTExpression const &  expresion_ast,
VectorExpressionCreator expression_creator 
)
VariableExpressionCOP protocols::pack_daemon::IterativeVectorExpression::local_variable ( std::string const &  varname) const

returns 0 if there is no local variable with name varname. Do not throw an error if there is no such local variable – the initializing DAF will check its set of variable names after this object has looked through its set of local variables.

References local_variable_map_.

core::Size protocols::pack_daemon::IterativeVectorExpression::size ( ) const
overridevirtual

Returns the number of vector values that this Expression returns without computing those values.

Implements protocols::pack_daemon::VectorExpression.

References input_vector_expressions_.

Referenced by active_variables_vector(), initialize(), and vector_values().

IterativeVectorExpression::values protocols::pack_daemon::IterativeVectorExpression::vector_values ( ) const
overridevirtual

Member Data Documentation

ExpressionCOP protocols::pack_daemon::IterativeVectorExpression::expression_
private

Referenced by initialize().

utility::vector1< VectorExpressionCOP > protocols::pack_daemon::IterativeVectorExpression::input_vector_expressions_
private
std::map< std::string, VariableExpressionCOP > protocols::pack_daemon::IterativeVectorExpression::local_variable_map_
private

Referenced by initialize(), and local_variable().

utility::vector1< VariableExpressionOP > protocols::pack_daemon::IterativeVectorExpression::local_variables_
private

Referenced by initialize(), and vector_values().


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