22 #include <boost/shared_ptr.hpp> 23 #include <boost/random.hpp> 24 #include <boost/random/variate_generator.hpp> 25 #include <boost/random/uniform_real.hpp> 26 #include <boost/random/mersenne_twister.hpp> 27 #include <boost/random/normal_distribution.hpp> 29 #include <Eigen/Geometry> 43 typedef std::map<std::string, std::vector<ISM::ObjectSetPtr> >
TestSet;
44 typedef boost::mt19937
ENG;
45 typedef boost::uniform_int<>
DIST;
46 typedef boost::variate_generator<ENG,DIST>
GEN;
52 TestSetGenerator(
const std::map<std::string, ISM::ObjectRelations> allObjectRelationsPerPattern,
67 const std::string& pattern, GEN &gen);
const std::map< std::string, ISM::ObjectRelations > mAllObjectRelationsPerPattern
boost::shared_ptr< ObjectSetValidator > ObjectSetValidatorPtr
boost::shared_ptr< ImplicitShapeModel > IsmPtr
TestSetGenerator(const std::map< std::string, ISM::ObjectRelations > allObjectRelationsPerPattern, ObjectSetValidatorPtr &objectSetValidator)
boost::shared_ptr< ObjectSet > ObjectSetPtr
boost::shared_ptr< Tracks > TracksPtr
ISM::ObjectSetValidatorPtr mObjectSetValidator
boost::shared_ptr< TestSetGenerator > TestSetGeneratorPtr
this namespace contains all generally usable classes.
ObjectSetPtr generateRandomObjectSetFromTracks(const ISM::TracksPtr &allTracks, const std::string &pattern, GEN &gen)
std::pair< std::vector< ObjectSetPtr >, std::vector< ObjectSetPtr > > generateTestSets(const std::string &patternName, const TracksPtr &tracks, const IsmPtr ism, unsigned int testSetCount)
std::map< std::string, std::vector< ISM::ObjectSetPtr > > TestSet
boost::variate_generator< ENG, DIST > GEN