Remove unused ExprNode::collectExogenous()
parent
b0bd031a9f
commit
2424b7358c
|
@ -135,15 +135,6 @@ ExprNode::collectEndogenous(set<pair<int, int>> &result) const
|
||||||
result.emplace(datatree.symbol_table.getTypeSpecificID(symb_id), lag);
|
result.emplace(datatree.symbol_table.getTypeSpecificID(symb_id), lag);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
ExprNode::collectExogenous(set<pair<int, int>> &result) const
|
|
||||||
{
|
|
||||||
set<pair<int, int>> symb_ids_and_lags;
|
|
||||||
collectDynamicVariables(SymbolType::exogenous, symb_ids_and_lags);
|
|
||||||
for (const auto &[symb_id, lag] : symb_ids_and_lags)
|
|
||||||
result.emplace(datatree.symbol_table.getTypeSpecificID(symb_id), lag);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ExprNode::computeTemporaryTerms(const pair<int, int> &derivOrder,
|
ExprNode::computeTemporaryTerms(const pair<int, int> &derivOrder,
|
||||||
map<pair<int, int>, temporary_terms_t> &temp_terms_map,
|
map<pair<int, int>, temporary_terms_t> &temp_terms_map,
|
||||||
|
|
|
@ -397,14 +397,6 @@ public:
|
||||||
*/
|
*/
|
||||||
virtual void collectEndogenous(set<pair<int, int>> &result) const;
|
virtual void collectEndogenous(set<pair<int, int>> &result) const;
|
||||||
|
|
||||||
//! Computes the set of exogenous variables in the expression
|
|
||||||
/*!
|
|
||||||
Exogenous are stored as integer pairs of the form (type_specific_id, lag).
|
|
||||||
They are added to the set given in argument.
|
|
||||||
Note that model local variables are substituted by their expression in the computation.
|
|
||||||
*/
|
|
||||||
virtual void collectExogenous(set<pair<int, int>> &result) const;
|
|
||||||
|
|
||||||
class EvalException
|
class EvalException
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue