Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

expression_node Class Reference

#include <expression.h>

Collaboration diagram for expression_node:

Collaboration graph
[legend]
List of all members.

Public Methods

 expression_node ()
 expression_node (int et, int nn)
 expression_node (const expression_node &__x)
 ~expression_node ()
expression_node & operator= (const expression_node &__x)
bool operator< (const expression_node &__x) const
void merge (const expression_node &__s)
void set_bounds (interval __i)
void set_bounds (double __d=0.)
void set_bounds (int __i)
void set_bounds (double lo, double up)
void add_is_var (unsigned int idx)
void rm_is_var (unsigned int idx)
bool is (unsigned int __tp) const
const variable_indicatorvar_indicator () const
double f_evaluate (int argnum, int idx, const std::vector< double > &x, const variable_indicator &v_i, double fold, double fupd, std::vector< double > *cache_data) const
interval i_evaluate (int argnum, int idx, const std::vector< interval > &x, const variable_indicator &v_i, interval fold, interval fupd, std::vector< interval > *cache_data) const
interval cp_evaluate (int argnum, int idx, const std::vector< interval > &node_range, const variable_indicator &v_i, interval fold, interval fupd, std::vector< interval > *cache_data) const

Public Attributes

unsigned int node_num
int operator_type
unsigned int n_parents
unsigned int n_children
std::vector< double > coeffs
additional_info_u params
interval f_bounds
unsigned short is_var
std::vector< unsigned int > var_idx
semantics sem
variable_indicator v_i
evaluator_vev

Friends

std::ostream & operator<< (std::ostream &o, const expression_node &__x)
std::string & print_C_pre (std::string &__s, const expression_node &__x)
std::string & print_C_post (std::string &__s, const expression_node &__x)

Constructor & Destructor Documentation

expression_node::expression_node   [inline]
 

Definition at line 249 of file expression.h.

expression_node::expression_node int    et,
int    nn
[inline]
 

Definition at line 254 of file expression.h.

expression_node::expression_node const expression_node &    __x [inline]
 

Definition at line 260 of file expression.h.

expression_node::~expression_node   [inline]
 

Definition at line 267 of file expression.h.


Member Function Documentation

void expression_node::add_is_var unsigned int    idx [inline]
 

Definition at line 329 of file expression.h.

interval expression_node::cp_evaluate int    argnum,
int    idx,
const std::vector< interval > &    node_range,
const variable_indicator   v_i,
interval    fold,
interval    fupd,
std::vector< interval > *    cache_data
const [inline]
 

Definition at line 362 of file expression.h.

double expression_node::f_evaluate int    argnum,
int    idx,
const std::vector< double > &    x,
const variable_indicator   v_i,
double    fold,
double    fupd,
std::vector< double > *    cache_data
const [inline]
 

Definition at line 360 of file expression.h.

interval expression_node::i_evaluate int    argnum,
int    idx,
const std::vector< interval > &    x,
const variable_indicator   v_i,
interval    fold,
interval    fupd,
std::vector< interval > *    cache_data
const [inline]
 

Definition at line 361 of file expression.h.

bool expression_node::is unsigned int    __tp const
 

Definition at line 33 of file expression.cc.

void expression_node::merge const expression_node &    __s [inline]
 

Definition at line 297 of file expression.h.

bool expression_node::operator< const expression_node &    __x const [inline]
 

Definition at line 204 of file expr-inline.h.

expression_node& expression_node::operator= const expression_node &    __x [inline]
 

Definition at line 275 of file expression.h.

void expression_node::rm_is_var unsigned int    idx [inline]
 

Definition at line 335 of file expression.h.

void expression_node::set_bounds double    lo,
double    up
[inline]
 

Definition at line 324 of file expression.h.

void expression_node::set_bounds int    __i [inline]
 

Definition at line 319 of file expression.h.

void expression_node::set_bounds double    __d = 0. [inline]
 

Definition at line 314 of file expression.h.

void expression_node::set_bounds interval    __i [inline]
 

Definition at line 309 of file expression.h.

const variable_indicator& expression_node::var_indicator   const [inline]
 

Definition at line 357 of file expression.h.


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &    o,
const expression_node &    __x
[friend]
 

Definition at line 195 of file expression.cc.

std::string& print_C_post std::string &    __s,
const expression_node &    __x
[friend]
 

std::string& print_C_pre std::string &    __s,
const expression_node &    __x
[friend]
 


Member Data Documentation

std::vector<double> expression_node::coeffs
 

Definition at line 221 of file expression.h.

evaluator_v* expression_node::ev
 

Definition at line 236 of file expression.h.

interval expression_node::f_bounds
 

Definition at line 225 of file expression.h.

unsigned short expression_node::is_var
 

Definition at line 227 of file expression.h.

unsigned int expression_node::n_children
 

Definition at line 218 of file expression.h.

unsigned int expression_node::n_parents
 

Definition at line 218 of file expression.h.

unsigned int expression_node::node_num
 

Definition at line 207 of file expression.h.

int expression_node::operator_type
 

Definition at line 209 of file expression.h.

additional_info_u expression_node::params
 

Definition at line 223 of file expression.h.

semantics expression_node::sem
 

Definition at line 230 of file expression.h.

variable_indicator expression_node::v_i
 

Definition at line 234 of file expression.h.

std::vector<unsigned int> expression_node::var_idx
 

Definition at line 228 of file expression.h.


The documentation for this class was generated from the following files:
Generated on Tue Nov 4 01:58:56 2003 for COCONUT API by doxygen1.2.18