|
tfel
|
structure representing a logical expression More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/Parser/LogicalExpr.hxx>
Public Member Functions | |
| virtual bool | getValue () const =0 |
| virtual bool | isConstant () const =0 |
| return if the expression is constant | |
| virtual bool | dependsOnVariable (const std::vector< double >::size_type) const =0 |
| virtual std::string | getCxxFormula (const std::vector< std::string > &) const =0 |
| virtual void | checkCyclicDependency (std::vector< std::string > &) const =0 |
| virtual std::shared_ptr< LogicalExpr > | resolveDependencies (const std::vector< double > &) const =0 |
| virtual std::shared_ptr< LogicalExpr > | clone (const std::vector< double > &) const =0 |
| virtual void | getParametersNames (std::set< std::string > &) const =0 |
| virtual std::shared_ptr< LogicalExpr > | createFunctionByChangingParametersIntoVariables (const std::vector< double > &, const std::vector< std::string > &, const std::map< std::string, std::vector< double >::size_type > &) const =0 |
structure representing a logical expression
|
nodiscardpure virtual |
| [in] | p | position |
Implemented in tfel::math::parser::LogicalBinaryOperation< Op >, tfel::math::parser::LogicalOperation< Op >, and tfel::math::parser::NegLogicalExpression.
|
nodiscardpure virtual |
| [in] | m | a map used to change the names of the variables |
Implemented in tfel::math::parser::LogicalBinaryOperation< Op >, tfel::math::parser::LogicalOperation< Op >, and tfel::math::parser::NegLogicalExpression.
|
nodiscardpure virtual |
Implemented in tfel::math::parser::LogicalBinaryOperation< Op >, tfel::math::parser::LogicalOperation< Op >, and tfel::math::parser::NegLogicalExpression.
|
nodiscardpure virtual |
return if the expression is constant
Implemented in tfel::math::parser::LogicalBinaryOperation< Op >, tfel::math::parser::LogicalOperation< Op >, and tfel::math::parser::NegLogicalExpression.