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

variable_indicator Class Reference

#include <evaluator.h>

List of all members.

Public Methods

 variable_indicator ()
 variable_indicator (int num_of_vars)
 variable_indicator (const std::vector< int > &__v, int num_of_vars)
 variable_indicator (const variable_indicator &__x)
void reserve (int num_of_vars)
void set_all (const variable_indicator &_vi)
void set (int __i)
void set (std::vector< int > __v)
void set (int start_idx, int end_idx)
void clear ()
void unset (int __i)
void unset (std::vector< int > __v)
void unset (int start_idx, int end_idx)
unsigned int sum (int start_idx, int end_idx) const
bool test (int __i) const
bool match (const variable_indicator &__v) const
variable_indicator & operator= (const variable_indicator &__v)
bool operator== (const variable_indicator &__v)
std::vector< int > encode ()
void decode (const std::vector< int > &__e)


Constructor & Destructor Documentation

variable_indicator::variable_indicator   [inline]
 

Definition at line 63 of file evaluator.h.

variable_indicator::variable_indicator int    num_of_vars [inline]
 

Definition at line 65 of file evaluator.h.

variable_indicator::variable_indicator const std::vector< int > &    __v,
int    num_of_vars
[inline]
 

Definition at line 67 of file evaluator.h.

variable_indicator::variable_indicator const variable_indicator &    __x [inline]
 

Definition at line 74 of file evaluator.h.


Member Function Documentation

void variable_indicator::clear   [inline]
 

Definition at line 125 of file evaluator.h.

void variable_indicator::decode const std::vector< int > &    __e [inline]
 

Definition at line 229 of file evaluator.h.

std::vector<int> variable_indicator::encode   [inline]
 

Definition at line 220 of file evaluator.h.

bool variable_indicator::match const variable_indicator &    __v const [inline]
 

Definition at line 195 of file evaluator.h.

variable_indicator& variable_indicator::operator= const variable_indicator &    __v [inline]
 

Definition at line 209 of file evaluator.h.

bool variable_indicator::operator== const variable_indicator &    __v [inline]
 

Definition at line 215 of file evaluator.h.

void variable_indicator::reserve int    num_of_vars [inline]
 

Definition at line 76 of file evaluator.h.

void variable_indicator::set int    start_idx,
int    end_idx
[inline]
 

Definition at line 106 of file evaluator.h.

void variable_indicator::set std::vector< int >    __v [inline]
 

Definition at line 100 of file evaluator.h.

void variable_indicator::set int    __i [inline]
 

Definition at line 95 of file evaluator.h.

void variable_indicator::set_all const variable_indicator &    _vi [inline]
 

Definition at line 83 of file evaluator.h.

unsigned int variable_indicator::sum int    start_idx,
int    end_idx
const [inline]
 

Definition at line 161 of file evaluator.h.

bool variable_indicator::test int    __i const [inline]
 

Definition at line 190 of file evaluator.h.

void variable_indicator::unset int    start_idx,
int    end_idx
[inline]
 

Definition at line 142 of file evaluator.h.

void variable_indicator::unset std::vector< int >    __v [inline]
 

Definition at line 136 of file evaluator.h.

void variable_indicator::unset int    __i [inline]
 

Definition at line 131 of file evaluator.h.


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