#include <cyclic_cg_heuristic.h>
Public Types | |
enum | { QUITE_A_LOT = 10000000 } |
Public Member Functions | |
void | buildDependingVars (int parents_num) |
vector< TimedOp > | generate_causal_constraints (LocalProblemNode *goalNode, set< CausalConstraint > &constraints, vector< TimedOp > &neededOps, const TimeStampedState &state, set< const Operator * > &labels) |
virtual LocalProblemNode * | get_node (int var_no)=0 |
int | getLocalIndexOfGlobalVariable (int global_var) |
virtual void | initialize (double base_priority, int start_value, const TimeStampedState &state)=0 |
bool | is_initialized () const |
LocalProblem (CyclicCGHeuristic *_owner, int the_var_no, int the_start_value) | |
virtual | ~LocalProblem () |
Public Attributes | |
double | base_priority |
std::vector< int > * | causal_graph_parents |
vector< vector< int > > | children_in_cg |
vector< vector< int > > | depending_vars |
hashmap * | global_to_local_parents |
CyclicCGHeuristic * | owner |
const int | start_value |
const int | var_no |
Definition at line 123 of file cyclic_cg_heuristic.h.
anonymous enum |
Definition at line 127 of file cyclic_cg_heuristic.h.
virtual LocalProblem::~LocalProblem | ( | ) | [inline, virtual] |
Definition at line 144 of file cyclic_cg_heuristic.h.
LocalProblem::LocalProblem | ( | CyclicCGHeuristic * | _owner, |
int | the_var_no, | ||
int | the_start_value | ||
) |
Definition at line 12 of file cyclic_cg_heuristic.cpp.
void LocalProblem::buildDependingVars | ( | int | parents_num | ) |
Definition at line 1024 of file cyclic_cg_heuristic.cpp.
vector< TimedOp > LocalProblem::generate_causal_constraints | ( | LocalProblemNode * | goalNode, |
set< CausalConstraint > & | constraints, | ||
vector< TimedOp > & | neededOps, | ||
const TimeStampedState & | state, | ||
set< const Operator * > & | labels | ||
) |
Definition at line 463 of file cyclic_cg_heuristic.cpp.
virtual LocalProblemNode* LocalProblem::get_node | ( | int | var_no | ) | [pure virtual] |
Implemented in LocalProblemComp, and LocalProblemDiscrete.
int LocalProblem::getLocalIndexOfGlobalVariable | ( | int | global_var | ) |
Definition at line 895 of file cyclic_cg_heuristic.cpp.
virtual void LocalProblem::initialize | ( | double | base_priority, |
int | start_value, | ||
const TimeStampedState & | state | ||
) | [pure virtual] |
Implemented in LocalProblemComp, and LocalProblemDiscrete.
bool LocalProblem::is_initialized | ( | ) | const [inline] |
Definition at line 360 of file cyclic_cg_heuristic.h.
double LocalProblem::base_priority |
Definition at line 131 of file cyclic_cg_heuristic.h.
std::vector<int>* LocalProblem::causal_graph_parents |
Definition at line 133 of file cyclic_cg_heuristic.h.
vector<vector<int> > LocalProblem::children_in_cg |
Definition at line 138 of file cyclic_cg_heuristic.h.
vector<vector<int> > LocalProblem::depending_vars |
Definition at line 137 of file cyclic_cg_heuristic.h.
Definition at line 136 of file cyclic_cg_heuristic.h.
Definition at line 126 of file cyclic_cg_heuristic.h.
const int LocalProblem::start_value |
Definition at line 134 of file cyclic_cg_heuristic.h.
const int LocalProblem::var_no |
Definition at line 132 of file cyclic_cg_heuristic.h.