#include <formula.h>
|
| | Formula ()=default |
| | constructor More...
|
| |
| | Formula (const Item &expression) |
| | constructor with given expression More...
|
| |
| std::function< capd::autodiff::Node(capd::autodiff::Node, capd::autodiff::Node[], int, capd::autodiff::Node[], int)> | arithmetic () const |
| | get the arithmetic function of the current formula More...
|
| |
| capd::interval | value (const capd::interval &t, const std::vector< capd::interval > &in, const std::vector< capd::interval > ¶ms) const |
| | get the value of the current formula More...
|
| |
| bool | isReversed () const |
| | check if the vector was reversed or not More...
|
| |
| void | reverse () const |
| | reverse the direction of the vector More...
|
| |
◆ Formula() [1/2]
| irafhy::Formula::Formula |
( |
| ) |
|
|
default |
◆ Formula() [2/2]
| irafhy::Formula::Formula |
( |
const Item & |
expression | ) |
|
|
explicit |
constructor with given expression
- Parameters
-
| expression | given expression |
References expression_.
◆ arithmetic()
| std::function< capd::autodiff::Node(capd::autodiff::Node, capd::autodiff::Node[], int, capd::autodiff::Node[], int)> irafhy::Formula::arithmetic |
( |
| ) |
const |
◆ isReversed()
| bool irafhy::Formula::isReversed |
( |
| ) |
const |
check if the vector was reversed or not
- Returns
- TRUE if the vector was reversed
References isReversed_.
◆ reverse()
| void irafhy::Formula::reverse |
( |
| ) |
const |
reverse the direction of the vector
References isReversed_.
◆ value()
| capd::interval irafhy::Formula::value |
( |
const capd::interval & |
t, |
|
|
const std::vector< capd::interval > & |
in, |
|
|
const std::vector< capd::interval > & |
params |
|
) |
| const |
◆ operator<<
| std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Formula & |
rhs |
|
) |
| |
|
friend |
out the given formula to standard out stream
- Parameters
-
| out | given out stream |
| rhs | given formula |
- Returns
- resulting out stream
◆ expression_
| Item irafhy::Formula::expression_ |
|
private |
◆ isReversed_
| bool irafhy::Formula::isReversed_ = false |
|
mutableprivate |
The documentation for this class was generated from the following files:
- /home/jianqiang/CLionProjects/irafhy/include/irafhy/representation/formal/basic/formula.h
- /home/jianqiang/CLionProjects/irafhy/src/representation/formal/basic/formula.cpp