Advertisement
Guest User

Untitled

a guest
Aug 5th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. #include <shogun/io/SGIO.h>
  2. #include <shogun/base/init.h>
  3.  
  4. #include <shogun/lib/SGVector.h>
  5. #include <shogun/lib/SGString.h>
  6. #include <shogun/lib/SGSparseVector.h>
  7. #include <shogun/lib/DynamicObjectArray.h>
  8. #include <shogun/structure/FactorGraph.h>
  9. #include <shogun/structure/FactorType.h>
  10. #include <shogun/structure/Factor.h>
  11. #include <shogun/structure/FactorGraphLabels.h>
  12. #include <shogun/structure/MAPInference.h>
  13.  
  14. #include <iostream>
  15. #include <vector>
  16. #include <set>
  17. #include <tr1/unordered_map>
  18. #include <numeric>
  19.  
  20. using namespace std;
  21. using namespace shogun;
  22.  
  23. int main(int argc, char** argv)
  24. {
  25. init_shogun_with_defaults();
  26.  
  27. sg_io->set_loglevel(MSG_DEBUG);
  28.  
  29. CMAPInference* mapinf = new CMAPInference();
  30. CMAPInference* cp = dynamic_cast<CMAPInference*>(mapinf->clone());
  31. SG_UNREF(mapinf);
  32. SG_UNREF(cp);
  33.  
  34. exit_shogun();
  35.  
  36. return 0;
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement