Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <shogun/io/SGIO.h>
- #include <shogun/base/init.h>
- #include <shogun/lib/SGVector.h>
- #include <shogun/lib/SGString.h>
- #include <shogun/lib/SGSparseVector.h>
- #include <shogun/lib/DynamicObjectArray.h>
- #include <shogun/structure/FactorGraph.h>
- #include <shogun/structure/FactorType.h>
- #include <shogun/structure/Factor.h>
- #include <shogun/structure/FactorGraphLabels.h>
- #include <shogun/structure/MAPInference.h>
- #include <iostream>
- #include <vector>
- #include <set>
- #include <tr1/unordered_map>
- #include <numeric>
- using namespace std;
- using namespace shogun;
- int main(int argc, char** argv)
- {
- init_shogun_with_defaults();
- sg_io->set_loglevel(MSG_DEBUG);
- CMAPInference* mapinf = new CMAPInference();
- CMAPInference* cp = dynamic_cast<CMAPInference*>(mapinf->clone());
- SG_UNREF(mapinf);
- SG_UNREF(cp);
- exit_shogun();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement