00001 // 00002 // untitled 00003 // 00004 // Created by on 2007-12-13. 00005 // Copyright (c) 2007 The PolyBoRi Team. See LICENSE file. 00006 // PolyBoRi Project 00007 00008 #ifndef RANDOM_HEADER 00009 #include "groebner_defs.h" 00010 #include <boost/random/uniform_smallint.hpp> 00011 #include <boost/random/linear_congruential.hpp> 00012 #include <boost/random/variate_generator.hpp> 00013 BEGIN_NAMESPACE_PBORIGB 00014 typedef boost::minstd_rand base_generator_type; 00015 typedef boost::uniform_smallint<> distribution_type; 00016 typedef boost::variate_generator<base_generator_type&, distribution_type> bool_gen_type; 00017 MonomialSet random_set(const Monomial& variables, unsigned int len); 00018 END_NAMESPACE_PBORIGB 00019 #endif