|
Rosetta 3.5
|
Stores the result of the surragate expression as if this expression were a variable, but defers to the root expression for questions of deriviatives and which variables are active (this is not a real variable). More...
#include <DynamicAggregateFunction.hh>


Public Types | |
| typedef numeric::expression_parser::VariableExpression | parent |
| typedef numeric::expression_parser::ExpressionCOP | ExpressionCOP |
Public Member Functions | |
| SurrogateVariableExpression (std::string const &) | |
| SurrogateVariableExpression (std::string const &, core::Real value) | |
| virtual std::list< std::string > | active_variables () const |
| void | root_expression (ExpressionCOP setting) |
| virtual ExpressionCOP | differentiate (std::string const &varname) const |
Private Attributes | |
| ExpressionCOP | root_expression_ |
Stores the result of the surragate expression as if this expression were a variable, but defers to the root expression for questions of deriviatives and which variables are active (this is not a real variable).
Definition at line 400 of file DynamicAggregateFunction.hh.
| typedef numeric::expression_parser::ExpressionCOP protocols::pack_daemon::SurrogateVariableExpression::ExpressionCOP |
Definition at line 404 of file DynamicAggregateFunction.hh.
| typedef numeric::expression_parser::VariableExpression protocols::pack_daemon::SurrogateVariableExpression::parent |
Definition at line 403 of file DynamicAggregateFunction.hh.
| protocols::pack_daemon::SurrogateVariableExpression::SurrogateVariableExpression | ( | std::string const & | name) |
Definition at line 505 of file DynamicAggregateFunction.cc.
| protocols::pack_daemon::SurrogateVariableExpression::SurrogateVariableExpression | ( | std::string const & | name, |
| core::Real | value | ||
| ) |
Definition at line 512 of file DynamicAggregateFunction.cc.
|
virtual |
If you don't want to consider any of the variables to be active in a SurrogateVariableExpression, then do not set the root_expression_ for the SurrogateVariableExpression. This allows non-expressions (e.g. the EntityFuncs) to still contribute to the FITNESS without having to correspond to a particular state.
Definition at line 527 of file DynamicAggregateFunction.cc.
References root_expression_.
|
virtual |
Definition at line 544 of file DynamicAggregateFunction.cc.
References root_expression_.
| void protocols::pack_daemon::SurrogateVariableExpression::root_expression | ( | ExpressionCOP | setting) |
Definition at line 538 of file DynamicAggregateFunction.cc.
References root_expression_.
|
private |
Definition at line 421 of file DynamicAggregateFunction.hh.
Referenced by active_variables(), differentiate(), and root_expression().
1.8.4