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::VectorExpression Class Referenceabstract

#include <DynamicAggregateFunction.hh>

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

Public Types

typedef
numeric::expression_parser::Expression 
parent
 
typedef utility::vector1
< core::Real
values
 
typedef
numeric::expression_parser::ExpressionCOP 
ExpressionCOP
 

Public Member Functions

 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...
 
virtual values vector_values () const =0
 
virtual utility::vector1
< std::list< std::string > > 
active_variables_vector () const =0
 
virtual core::Size size () const =0
 Returns the number of vector values that this Expression returns without computing those values. More...
 
std::string const & name () const
 

Private Attributes

std::string name_
 

Member Typedef Documentation

typedef numeric::expression_parser::ExpressionCOP protocols::pack_daemon::VectorExpression::ExpressionCOP
typedef numeric::expression_parser::Expression protocols::pack_daemon::VectorExpression::parent

Constructor & Destructor Documentation

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

Member Function Documentation

virtual utility::vector1< std::list< std::string > > protocols::pack_daemon::VectorExpression::active_variables_vector ( ) const
pure virtual
ExpressionCOP protocols::pack_daemon::VectorExpression::differentiate ( std::string const &  varname) const
override

DO NOT CALL THIS FUNCTION. Vector expressions cannot be differentiated.

References name().

std::string const & protocols::pack_daemon::VectorExpression::name ( ) const
core::Real protocols::pack_daemon::VectorExpression::operator() ( ) const
override

DO NOT CALL THIS FUNCTION. Vector expressions return vectors of values instead of a singular value.

References name().

virtual core::Size protocols::pack_daemon::VectorExpression::size ( ) const
pure virtual

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

Implemented in protocols::pack_daemon::IterativeVectorExpression, and protocols::pack_daemon::VariableVectorExpression.

virtual values protocols::pack_daemon::VectorExpression::vector_values ( ) const
pure virtual

Member Data Documentation

std::string protocols::pack_daemon::VectorExpression::name_
private

Referenced by name().


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