ct_common
1.0.1
Common library for combinatorial testing
|
#include <constraint_l_ivld.h>
Public Member Functions | |
Constraint_L_IVLD (void) | |
Constraint_L_IVLD (const Constraint_L_IVLD &from) | |
Constraint_L_IVLD & | operator= (const Constraint_L_IVLD &right) |
virtual | ~Constraint_L_IVLD (void) |
virtual std::string | get_class_name (void) const |
virtual void | dump (std::ostream &os, const std::vector< boost::shared_ptr< ParamSpec > > ¶m_specs) const |
virtual void | inner_touch_leaf_pids (const std::vector< boost::shared_ptr< ParamSpec > > ¶m_specs, std::set< std::size_t > &pids_to_touch) const |
void | set_pid (std::size_t pid) |
std::size_t | get_pid (void) const |
virtual EvalType_Bool | Evaluate (const std::vector< boost::shared_ptr< ParamSpec > > ¶m_specs, const Assignment &assignment) const |
Static Public Member Functions | |
static std::string | class_name (void) |
The class for parameter invalidation constraints which is atomic
Definition at line 25 of file constraint_l_ivld.h.
Constraint_L_IVLD::Constraint_L_IVLD | ( | void | ) |
Definition at line 19 of file constraint_l_ivld.cpp.
Constraint_L_IVLD::Constraint_L_IVLD | ( | const Constraint_L_IVLD & | from | ) |
Definition at line 23 of file constraint_l_ivld.cpp.
Constraint_L_IVLD::~Constraint_L_IVLD | ( | void | ) | [virtual] |
Definition at line 27 of file constraint_l_ivld.cpp.
std::string Constraint_L_IVLD::class_name | ( | void | ) | [static] |
TODO: replace by typeid
Reimplemented from ct::common::Constraint_L_Atom.
Definition at line 40 of file constraint_l_ivld.cpp.
void Constraint_L_IVLD::dump | ( | std::ostream & | os, |
const std::vector< boost::shared_ptr< ParamSpec > > & | param_specs | ||
) | const [virtual] |
Print the tree node to a given output stream
Implements ct::common::TreeNode.
Definition at line 109 of file constraint_l_ivld.cpp.
EvalType_Bool Constraint_L_IVLD::Evaluate | ( | const std::vector< boost::shared_ptr< ParamSpec > > & | param_specs, |
const Assignment & | assignment | ||
) | const [virtual] |
Whether the constraint is satisfied
Implements ct::common::Constraint.
Definition at line 44 of file constraint_l_ivld.cpp.
std::string Constraint_L_IVLD::get_class_name | ( | void | ) | const [virtual] |
TODO: replace by typeid
Reimplemented from ct::common::Constraint_L_Atom.
Definition at line 36 of file constraint_l_ivld.cpp.
std::size_t ct::common::Constraint_L_IVLD::get_pid | ( | void | ) | const [inline] |
Definition at line 41 of file constraint_l_ivld.h.
void Constraint_L_IVLD::inner_touch_leaf_pids | ( | const std::vector< boost::shared_ptr< ParamSpec > > & | param_specs, |
std::set< std::size_t > & | pids_to_touch | ||
) | const [virtual] |
Inner function to get all related parameters
Reimplemented from ct::common::TreeNode.
Definition at line 103 of file constraint_l_ivld.cpp.
Constraint_L_IVLD & Constraint_L_IVLD::operator= | ( | const Constraint_L_IVLD & | right | ) |
Definition at line 30 of file constraint_l_ivld.cpp.
void ct::common::Constraint_L_IVLD::set_pid | ( | std::size_t | pid | ) | [inline] |
Definition at line 40 of file constraint_l_ivld.h.