/home/laradmin/lar/perception/planarobstacles/mtt/include/mtt/cluster.h File Reference

Hypotheses cluster definition. More...

#include <vector>
#include <boost/shared_ptr.hpp>
#include <cstddef>
#include <utility>
#include <features.h>
#include <bits/wordsize.h>
#include <gnu/stubs-32.h>
#include <memory>
#include <boost/config.hpp>
#include <exception>
#include <boost/checked_delete.hpp>
#include <boost/throw_exception.hpp>
#include <typeinfo>
#include <boost/smart_ptr/detail/sp_counted_base.hpp>
#include <boost/detail/workaround.hpp>
#include <boost/config/no_tr1/memory.hpp>
#include <functional>
#include <new>
#include <boost/smart_ptr/detail/sp_has_sync.hpp>
#include <boost/assert.hpp>
#include <algorithm>
#include <iosfwd>
#include <mtt/measurement.h>
#include <mtt/hypothesis.h>
Include dependency graph for cluster.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Cluster
 Hypotheses cluster class. More...

Typedefs

typedef boost::shared_ptr
< Cluster
ClusterPtr
 Shared pointer to the Cluster class.
typedef boost::shared_ptr
< Hypothesis
HypothesisPtr
typedef boost::shared_ptr
< Measurement
MeasurementPtr

Functions

bool compareClusters (ClusterPtr c1, ClusterPtr c2)
 Compare two clusters.
ostream & operator<< (ostream &o, vector< ClusterPtr > &c)
 Cluster vector print function.

Detailed Description

Hypotheses cluster definition.

Definition in file cluster.h.


Typedef Documentation

typedef boost::shared_ptr<Cluster> ClusterPtr

Shared pointer to the Cluster class.

Definition at line 85 of file cluster.h.

typedef boost::shared_ptr<Hypothesis> HypothesisPtr

Definition at line 44 of file cluster.h.

typedef boost::shared_ptr<Measurement> MeasurementPtr

Definition at line 47 of file cluster.h.


Function Documentation

bool compareClusters ( ClusterPtr  c1,
ClusterPtr  c2 
)

Compare two clusters.

This function is used to perform sorting operations.

Parameters:
c1 first cluster
c2 second cluster
Returns:
true if c2 id is larger that c1

Definition at line 128 of file cluster.cpp.

ostream& operator<< ( ostream &  o,
vector< ClusterPtr > &  c 
)

Cluster vector print function.

Definition at line 133 of file cluster.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mtt
Author(s): Jorge Almeida
autogenerated on Wed Jul 23 04:34:57 2014