Home My Page Projects MPTK: The Matching Pursuit ToolKit
Summary Activity Forums Tracker Lists Docs News SCM Files

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: mpdecomp help [ Reply ]
By: RĂ©mi Gribonval on 2014-08-12 09:08
[forum:148784]
Dear Krish,
The MP_Mpd_Core_c class inherits from the MP_Abstract_Core_c class (defined in file mp_core.h) where all these methods are implemented.
Best,
Remi.

mpdecomp help [ Reply ]
By: Krish Bala on 2014-07-31 19:29
[forum:148768]
Hello,

I was going through the MPTK-Source-0.7.0 source files and I had a question about the mpdecomp.cpp file that I am hoping someone can help me with. As you read this, keep in mind that I am still a beginner at C++.

My question in concerning the class file MP_Mpd_Core_c, which is used by the pointer mpdCore in mpdecomp.cpp. Once a new object of MP_Mpd_Core_c is created, the number of iterations is set on line 147 (mpdCore->set_iter_condition( numIter );). When I look through the mpd_core.cpp, which contains the definition of the class MP_Mpd_Core_c, I do not see a function with this name. Similarly, the function on line 165 (mpdCore->run();) is not in the class file for MP_Mpd_Core_c either. I wanted to know from where are these functions being executed when the mpdecomp function is called?

Regards,

Krish