4#include <boost/python.hpp>
5#include "factory/factory.h"
7using boost::python::self;
11 using boost::python::str;
12 std::basic_stringstream<char>
s;
14 return boost::python::str(
s.str());
18 boost::python::class_<CanonicalForm>(
"canonical_form")
19 .def(boost::python::init <const int>())
20 .def(boost::python::init <const Variable>())
22 .def(
"__str__", CF_as_str)
const CanonicalForm int s