$search

CollisionOperationsGenerator Class Reference

List of all members.

Public Member Functions

void buildOutputStructures (unsigned int num)
 CollisionOperationsGenerator (const std::string &full_path_name)
void emitYamlOutputStructures (const std::string &filename)
void generateAndCompareOutputStructures (unsigned int num)
void generateOutputCollisionOperations (unsigned int num, const std::string &output_file)
void generateSamplingStructures ()
bool isOk () const
void performanceTestFromOutputStructures ()
void printOutputStructures (const std::string &filename)
void sampleAndCountCollisions (unsigned int num)
 ~CollisionOperationsGenerator ()

Protected Member Functions

void generateRandomState (planning_models::KinematicState &state)
void resetCountingMap ()

Protected Attributes

std::vector< std::pair
< std::string, std::string > > 
always_in_collision_
std::map< std::string,
std::map< std::string,
unsigned int > > 
collision_count_map_
std::map< std::string,
std::pair< double, double > > 
joint_bounds_map_
planning_models::KinematicModelkmodel_
std::vector< std::pair
< std::string, std::string > > 
never_in_collision_
std::vector< std::pair
< std::string, std::string > > 
occasionally_in_collision_
collision_space::EnvironmentModelode_collision_model_
std::vector< std::pair
< std::string, std::string > > 
often_in_collision_
std::map< std::string,
std::map< std::string, double > > 
often_percentage_map_
bool ok_
std::map< std::string,
std::map< std::string, double > > 
percentage_map_
std::vector< std::pair
< std::string, std::string > > 
saved_always_in_collision_
std::vector< std::pair
< std::string, std::string > > 
saved_often_in_collision_
urdf::Model urdf_model_

Detailed Description

Definition at line 62 of file collision_operations_generator_test.cpp.


Constructor & Destructor Documentation

CollisionOperationsGenerator::CollisionOperationsGenerator ( const std::string &  full_path_name  )  [inline]

Definition at line 66 of file collision_operations_generator_test.cpp.

CollisionOperationsGenerator::~CollisionOperationsGenerator (  )  [inline]

Definition at line 109 of file collision_operations_generator_test.cpp.


Member Function Documentation

void CollisionOperationsGenerator::buildOutputStructures ( unsigned int  num  )  [inline]

Definition at line 267 of file collision_operations_generator_test.cpp.

void CollisionOperationsGenerator::emitYamlOutputStructures ( const std::string &  filename  )  [inline]

Definition at line 353 of file collision_operations_generator_test.cpp.

void CollisionOperationsGenerator::generateAndCompareOutputStructures ( unsigned int  num  )  [inline]

Definition at line 207 of file collision_operations_generator_test.cpp.

void CollisionOperationsGenerator::generateOutputCollisionOperations ( unsigned int  num,
const std::string &  output_file 
) [inline]

Definition at line 139 of file collision_operations_generator_test.cpp.

void CollisionOperationsGenerator::generateRandomState ( planning_models::KinematicState state  )  [inline, protected]

Definition at line 491 of file collision_operations_generator_test.cpp.

void CollisionOperationsGenerator::generateSamplingStructures (  )  [inline]

Definition at line 114 of file collision_operations_generator_test.cpp.

bool CollisionOperationsGenerator::isOk (  )  const [inline]

Definition at line 470 of file collision_operations_generator_test.cpp.

void CollisionOperationsGenerator::performanceTestFromOutputStructures (  )  [inline]

Definition at line 388 of file collision_operations_generator_test.cpp.

void CollisionOperationsGenerator::printOutputStructures ( const std::string &  filename  )  [inline]

Definition at line 324 of file collision_operations_generator_test.cpp.

void CollisionOperationsGenerator::resetCountingMap (  )  [inline, protected]

Definition at line 476 of file collision_operations_generator_test.cpp.

void CollisionOperationsGenerator::sampleAndCountCollisions ( unsigned int  num  )  [inline]

Definition at line 174 of file collision_operations_generator_test.cpp.


Member Data Documentation

std::vector<std::pair<std::string, std::string> > CollisionOperationsGenerator::always_in_collision_ [protected]

Definition at line 512 of file collision_operations_generator_test.cpp.

std::map<std::string, std::map<std::string, unsigned int> > CollisionOperationsGenerator::collision_count_map_ [protected]

Definition at line 510 of file collision_operations_generator_test.cpp.

std::map<std::string, std::pair<double, double> > CollisionOperationsGenerator::joint_bounds_map_ [protected]

Definition at line 509 of file collision_operations_generator_test.cpp.

Definition at line 506 of file collision_operations_generator_test.cpp.

std::vector<std::pair<std::string, std::string> > CollisionOperationsGenerator::never_in_collision_ [protected]

Definition at line 514 of file collision_operations_generator_test.cpp.

std::vector<std::pair<std::string, std::string> > CollisionOperationsGenerator::occasionally_in_collision_ [protected]

Definition at line 517 of file collision_operations_generator_test.cpp.

Definition at line 505 of file collision_operations_generator_test.cpp.

std::vector<std::pair<std::string, std::string> > CollisionOperationsGenerator::often_in_collision_ [protected]

Definition at line 515 of file collision_operations_generator_test.cpp.

std::map<std::string, std::map<std::string, double> > CollisionOperationsGenerator::often_percentage_map_ [protected]

Definition at line 519 of file collision_operations_generator_test.cpp.

Definition at line 503 of file collision_operations_generator_test.cpp.

std::map<std::string, std::map<std::string, double> > CollisionOperationsGenerator::percentage_map_ [protected]

Definition at line 518 of file collision_operations_generator_test.cpp.

std::vector<std::pair<std::string, std::string> > CollisionOperationsGenerator::saved_always_in_collision_ [protected]

Definition at line 513 of file collision_operations_generator_test.cpp.

std::vector<std::pair<std::string, std::string> > CollisionOperationsGenerator::saved_often_in_collision_ [protected]

Definition at line 516 of file collision_operations_generator_test.cpp.

Definition at line 507 of file collision_operations_generator_test.cpp.


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


planning_environment
Author(s): Ioan Sucan
autogenerated on Fri Mar 1 14:17:20 2013