#include <eval.h>
Classes | |
| struct | Data |
Public Member Functions | |
| void | addLabelPoint (const int l) |
| void | addMark (const int mark, const int l) |
| template<typename PointLabel > | |
| void | addPC (const boost::shared_ptr< const pcl::PointCloud< PointLabel > > &labeled_pc) |
| const BinaryClassification & | finish () |
| void | get_rate (double &true_positive, double &false_positive) const |
Private Member Functions | |
| bool | isMarkMaxForLabel (int mark, int l) |
Private Attributes | |
| std::map< int, std::map< int, size_t > > | label_to_mark |
| std::map< int, std::map< int, size_t > > | mark_to_label |
| std::map< int, Data > | stat_label |
| std::map< int, Data > | stat_mark |
Friends | |
| std::ostream & | operator<< (ostream &os, const BinaryClassification &bc) |
| for debugging | |
| void BinaryClassification::addLabelPoint | ( | const int | l | ) | [inline] |
| void BinaryClassification::addMark | ( | const int | mark, |
| const int | l | ||
| ) | [inline] |
| void BinaryClassification::addPC | ( | const boost::shared_ptr< const pcl::PointCloud< PointLabel > > & | labeled_pc | ) | [inline] |
| const BinaryClassification& BinaryClassification::finish | ( | ) | [inline] |
| void BinaryClassification::get_rate | ( | double & | true_positive, |
| double & | false_positive | ||
| ) | const [inline] |
| bool BinaryClassification::isMarkMaxForLabel | ( | int | mark, |
| int | l | ||
| ) | [inline, private] |
| std::ostream& operator<< | ( | ostream & | os, |
| const BinaryClassification & | bc | ||
| ) | [friend] |
std::map<int, std::map<int, size_t> > BinaryClassification::label_to_mark [private] |
std::map<int, std::map<int, size_t> > BinaryClassification::mark_to_label [private] |
std::map<int, Data> BinaryClassification::stat_label [private] |
std::map<int, Data> BinaryClassification::stat_mark [private] |