Generate an accompaniement for a given melody
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Markov.hpp File Reference

This file describes the data structures used to represent a hidden Markov model (HMM) More...

#include "Music.hpp"
#include "Traits.hpp"
#include "Database.hpp"
#include <vector>
#include <map>
#include <exception>
#include <string>
#include <iostream>
#include <boost/type_traits.hpp>
#include <boost/rational.hpp>
#include "Observation.hpp"
#include "Markov.cpp"

Go to the source code of this file.

Classes

class  HMM
 Unified interface for HMMs, independant of the observation type. More...
 
class  HMM_backend< Obs >
 Backend for a Hidden Markov Model object, templated over the observation type. More...
 
class  HMM_backend< Obs >::State
 

Functions

 CREATE_MEMBER_DETECTOR (getClosestObs) template< class Obs > class HMM_backend
 
HMMloadFromFile (std::string fname)
 Load the HMM from a given file. More...
 

Detailed Description

This file describes the data structures used to represent a hidden Markov model (HMM)

Date
Mon Oct 6 02:53:45 2014

Function Documentation

HMM* loadFromFile ( std::string  fname)

Load the HMM from a given file.

Be careful, this function erase all the existing data of the class

Parameters
fnameName of the file