#include <cyclic_cg_heuristic.h>
Public Member Functions | |
void | add_to_waiting_list (LocalTransition *transition, int start_val) |
bool | all_conds_satiesfied (const ValueTransitionLabel *label, const TimeStampedState &state) |
virtual void | dump () |
CyclicCGHeuristic * | g_HACK () |
LocalProblemNode (LocalProblem *owner, int children_state_size, int _value) | |
void | mark_helpful_transitions (const TimeStampedState &state) |
virtual void | on_expand (const TimeStampedState &state)=0 |
virtual void | print_name ()=0 |
double | priority () const |
void | updateComparisonVariables (int var, binary_op op, int left_var, int right_var, vector< double > &temp_children_state) |
void | updateNumericVariablesRec (int var, vector< double > &temp_children_state) |
void | updatePrimitiveNumericVariable (assignment_op a_op, int primitive_var_local, int influencing_var_local, vector< double > &temp_children_state) |
void | updateSubtermNumericVariables (int var, binary_op op, int left_var, int right_var, vector< double > &temp_children_state) |
virtual | ~LocalProblemNode () |
Public Attributes | |
std::vector< double > | children_state |
double | cost |
bool | expanded |
LocalProblem * | owner |
LocalTransition * | pred |
LocalTransition * | reached_by |
double | reached_by_wait_for |
int | value |
waiting_list_t | waiting_list |
Definition at line 68 of file cyclic_cg_heuristic.h.
virtual LocalProblemNode::~LocalProblemNode | ( | ) | [inline, virtual] |
Definition at line 106 of file cyclic_cg_heuristic.h.
LocalProblemNode::LocalProblemNode | ( | LocalProblem * | owner, |
int | children_state_size, | ||
int | _value | ||
) | [inline] |
Definition at line 109 of file cyclic_cg_heuristic.h.
void LocalProblemNode::add_to_waiting_list | ( | LocalTransition * | transition, |
int | start_val | ||
) |
Definition at line 617 of file cyclic_cg_heuristic.cpp.
bool LocalProblemNode::all_conds_satiesfied | ( | const ValueTransitionLabel * | label, |
const TimeStampedState & | state | ||
) |
Definition at line 195 of file cyclic_cg_heuristic.cpp.
virtual void LocalProblemNode::dump | ( | ) | [inline, virtual] |
Reimplemented in LocalProblemNodeComp, and LocalProblemNodeDiscrete.
Definition at line 87 of file cyclic_cg_heuristic.h.
CyclicCGHeuristic * LocalProblemNode::g_HACK | ( | ) | [inline] |
Definition at line 623 of file cyclic_cg_heuristic.cpp.
void LocalProblemNode::mark_helpful_transitions | ( | const TimeStampedState & | state | ) |
Definition at line 207 of file cyclic_cg_heuristic.cpp.
virtual void LocalProblemNode::on_expand | ( | const TimeStampedState & | state | ) | [pure virtual] |
Implemented in LocalProblemNodeComp, and LocalProblemNodeDiscrete.
virtual void LocalProblemNode::print_name | ( | ) | [pure virtual] |
Implemented in LocalProblemNodeComp, and LocalProblemNodeDiscrete.
double LocalProblemNode::priority | ( | ) | const [inline] |
Definition at line 355 of file cyclic_cg_heuristic.h.
void LocalProblemNode::updateComparisonVariables | ( | int | var, |
binary_op | op, | ||
int | left_var, | ||
int | right_var, | ||
vector< double > & | temp_children_state | ||
) |
Definition at line 904 of file cyclic_cg_heuristic.cpp.
void LocalProblemNode::updateNumericVariablesRec | ( | int | var, |
vector< double > & | temp_children_state | ||
) |
Definition at line 868 of file cyclic_cg_heuristic.cpp.
void LocalProblemNode::updatePrimitiveNumericVariable | ( | assignment_op | a_op, |
int | primitive_var_local, | ||
int | influencing_var_local, | ||
vector< double > & | temp_children_state | ||
) |
Definition at line 833 of file cyclic_cg_heuristic.cpp.
void LocalProblemNode::updateSubtermNumericVariables | ( | int | var, |
binary_op | op, | ||
int | left_var, | ||
int | right_var, | ||
vector< double > & | temp_children_state | ||
) |
Definition at line 960 of file cyclic_cg_heuristic.cpp.
std::vector<double> LocalProblemNode::children_state |
Definition at line 74 of file cyclic_cg_heuristic.h.
double LocalProblemNode::cost |
Definition at line 83 of file cyclic_cg_heuristic.h.
Definition at line 85 of file cyclic_cg_heuristic.h.
Definition at line 72 of file cyclic_cg_heuristic.h.
Definition at line 78 of file cyclic_cg_heuristic.h.
Definition at line 76 of file cyclic_cg_heuristic.h.
Definition at line 86 of file cyclic_cg_heuristic.h.
Definition at line 80 of file cyclic_cg_heuristic.h.
Definition at line 93 of file cyclic_cg_heuristic.h.