#include <boost/python.hpp>

#include "mue_algorithm.h"
#include "teams.h"
#include "distances.h"

#include "seen_table_wrapper.h"



char const * peng() {
	return mue::peng().c_str();
}


BOOST_PYTHON_MODULE (_pymue)
{
	using namespace boost::python;

	def ("peng", peng);

	class_<mue::Team>("Team", init<int>())
		.def("id", &mue::Team::id);

	class_<mue::Distance_matrix>("DistanceMatrix", init<int>())
		.def("set_cost", &mue::Distance_matrix::set_cost)
		.def("lookup", &mue::Distance_matrix::lookup);

	class_<pymue::Seen_table_wrapper>("SeenTable", init<int>())
		.def("clone", &pymue::Seen_table_wrapper::clone)
		.def("generation", &pymue::Seen_table_wrapper::generation)
		.def("seen", &pymue::Seen_table_wrapper::seen)
		.def("add_meeting", &pymue::Seen_table_wrapper::add_meeting);
}

#include <boost/python.hpp>

#include "mue_algorithm.h"
#include "teams.h"
#include "distances.h"
#include "seen_table.h"


char const * peng() {
	return mue::peng().c_str();
}


BOOST_PYTHON_MODULE (_pymue)
{
	using namespace boost::python;

	def ("peng", peng);

	class_<mue::Team>("Team", init<int>())
		.def("id", &mue::Team::id);

	class_<mue::Distance_matrix>("DistanceMatrix", init<int>())
		.def("set_cost", &mue::Distance_matrix::set_cost)
		.def("lookup", &mue::Distance_matrix::lookup);

	class_<mue::Seen_table>("SeenTable", init<int>())
		.def("clone", &mue::Seen_table::clone)
		.def("generation", &mue::Seen_table::generation)
		.def("seen", &mue::Seen_table::seen)
		.def("add_meeting", &mue::Seen_table::add_meeting);
}

--- 
+++ 
@@ -3,7 +3,9 @@
 #include "mue_algorithm.h"
 #include "teams.h"
 #include "distances.h"
-#include "seen_table.h"
+
+#include "seen_table_wrapper.h"
+
 
 
 char const * peng() {
@@ -24,9 +26,9 @@
 		.def("set_cost", &mue::Distance_matrix::set_cost)
 		.def("lookup", &mue::Distance_matrix::lookup);
 
-	class_<mue::Seen_table>("SeenTable", init<int>())
-		.def("clone", &mue::Seen_table::clone)
-		.def("generation", &mue::Seen_table::generation)
-		.def("seen", &mue::Seen_table::seen)
-		.def("add_meeting", &mue::Seen_table::add_meeting);
+	class_<pymue::Seen_table_wrapper>("SeenTable", init<int>())
+		.def("clone", &pymue::Seen_table_wrapper::clone)
+		.def("generation", &pymue::Seen_table_wrapper::generation)
+		.def("seen", &pymue::Seen_table_wrapper::seen)
+		.def("add_meeting", &pymue::Seen_table_wrapper::add_meeting);
 }
Replace Seen_table with Seen_table_wrapper in the binding

Signed-off-by: Jan Losinski <577c4104c61edf9f052c616c0c23e67bef4a9955@wh2.tu-dresden.de>
