72 bool save(
const std::string& out_fname)
const;
75 bool do_save(std::ostream& os)
const;
76 void do_load(std::istream& is);
91 class EXPORT_CORE CLabelMap:
public std::map<size_t, size_t> {
99 CLabelMap(
const std::string& in_fname);
106 bool save(
const std::string& out_fname)
const ;
108 bool do_save(std::ostream& os)
const;
109 void do_load(std::istream& is);
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
A vector of probablility values.
std::vector< double > double_vector
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
EXPORT_CORE bool operator==(const CProbabilityVector &a, const CProbabilityVector &b)
Compare two probability vectors.
#define NS_MIA_END
conveniance define to end the mia namespace