#include <expression_graph.hpp>
|
| int | constant (double value, const std::string &name="") |
| int | variable (const std::string &name, double lo, double hi) |
| template<typename NumberSystem> |
| int | variable (const std::string &name, const range_analyzer< NumberSystem > &ra) |
| int | add (int lhs_id, int rhs_id) |
| int | sub (int lhs_id, int rhs_id) |
| int | mul (int lhs_id, int rhs_id) |
| int | div (int lhs_id, int rhs_id) |
| int | neg (int operand_id) |
| int | abs (int operand_id) |
| int | sqrt (int operand_id) |
| void | require_nsb (int node_id, int nsb) |
| void | analyze (int max_iterations=20) |
| int | get_nsb (int node_id) const |
| const ExprNode & | get_node (int node_id) const |
| int | size () const |
| std::string | recommended_type (int node_id, const TypeAdvisor &advisor=TypeAdvisor()) const |
| void | report (std::ostream &ostr) const |
| void | report (std::ostream &ostr, const TypeAdvisor &advisor) const |
| std::vector< ExprNode > & | nodes () |
| const std::vector< ExprNode > & | nodes () const |
◆ abs()
| int sw::universal::ExprGraph::abs |
( |
int | operand_id | ) |
|
|
inline |
◆ add()
| int sw::universal::ExprGraph::add |
( |
int | lhs_id, |
|
|
int | rhs_id ) |
|
inline |
◆ analyze()
| void sw::universal::ExprGraph::analyze |
( |
int | max_iterations = 20 | ) |
|
|
inline |
◆ constant()
| int sw::universal::ExprGraph::constant |
( |
double | value, |
|
|
const std::string & | name = "" ) |
|
inline |
◆ div()
| int sw::universal::ExprGraph::div |
( |
int | lhs_id, |
|
|
int | rhs_id ) |
|
inline |
◆ get_node()
| const ExprNode & sw::universal::ExprGraph::get_node |
( |
int | node_id | ) |
const |
|
inline |
◆ get_nsb()
| int sw::universal::ExprGraph::get_nsb |
( |
int | node_id | ) |
const |
|
inline |
◆ mul()
| int sw::universal::ExprGraph::mul |
( |
int | lhs_id, |
|
|
int | rhs_id ) |
|
inline |
◆ neg()
| int sw::universal::ExprGraph::neg |
( |
int | operand_id | ) |
|
|
inline |
◆ nodes() [1/2]
| std::vector< ExprNode > & sw::universal::ExprGraph::nodes |
( |
| ) |
|
|
inline |
◆ nodes() [2/2]
| const std::vector< ExprNode > & sw::universal::ExprGraph::nodes |
( |
| ) |
const |
|
inline |
◆ recommended_type()
| std::string sw::universal::ExprGraph::recommended_type |
( |
int | node_id, |
|
|
const TypeAdvisor & | advisor = TypeAdvisor() ) const |
|
inline |
◆ report() [1/2]
| void sw::universal::ExprGraph::report |
( |
std::ostream & | ostr | ) |
const |
|
inline |
◆ report() [2/2]
| void sw::universal::ExprGraph::report |
( |
std::ostream & | ostr, |
|
|
const TypeAdvisor & | advisor ) const |
|
inline |
◆ require_nsb()
| void sw::universal::ExprGraph::require_nsb |
( |
int | node_id, |
|
|
int | nsb ) |
|
inline |
◆ size()
| int sw::universal::ExprGraph::size |
( |
| ) |
const |
|
inline |
◆ sqrt()
| int sw::universal::ExprGraph::sqrt |
( |
int | operand_id | ) |
|
|
inline |
◆ sub()
| int sw::universal::ExprGraph::sub |
( |
int | lhs_id, |
|
|
int | rhs_id ) |
|
inline |
◆ variable() [1/2]
template<typename NumberSystem>
| int sw::universal::ExprGraph::variable |
( |
const std::string & | name, |
|
|
const range_analyzer< NumberSystem > & | ra ) |
|
inline |
◆ variable() [2/2]
| int sw::universal::ExprGraph::variable |
( |
const std::string & | name, |
|
|
double | lo, |
|
|
double | hi ) |
|
inline |
The documentation for this class was generated from the following file: