Public Types | Public Member Functions | Public Attributes
LocalProblem Class Reference

#include <cyclic_cg_heuristic.h>

Inheritance diagram for LocalProblem:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { QUITE_A_LOT = 10000000 }

Public Member Functions

void buildDependingVars (int parents_num)
vector< TimedOpgenerate_causal_constraints (LocalProblemNode *goalNode, set< CausalConstraint > &constraints, vector< TimedOp > &neededOps, const TimeStampedState &state, set< const Operator * > &labels)
virtual LocalProblemNodeget_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
hashmapglobal_to_local_parents
CyclicCGHeuristicowner
const int start_value
const int var_no

Detailed Description

Definition at line 123 of file cyclic_cg_heuristic.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
QUITE_A_LOT 

Definition at line 127 of file cyclic_cg_heuristic.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

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.


Member Data Documentation

Definition at line 131 of file cyclic_cg_heuristic.h.

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.

Definition at line 134 of file cyclic_cg_heuristic.h.

Definition at line 132 of file cyclic_cg_heuristic.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


tfd_modules
Author(s): Maintained by Christian Dornhege (see AUTHORS file).
autogenerated on Tue Jan 22 2013 12:25:03