PolyBoRi
randomset.h
Go to the documentation of this file.
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 PB_GB_RANDOM_HEADER
00009 #define PB_GB_RANDOM_HEADER
00010 #include "groebner_defs.h"
00011 #include <boost/random/uniform_smallint.hpp>
00012 #include <boost/random/linear_congruential.hpp>
00013 #include <boost/random/variate_generator.hpp>
00014 BEGIN_NAMESPACE_PBORIGB
00015 typedef boost::minstd_rand base_generator_type;
00016 typedef boost::uniform_smallint<> distribution_type;
00017 typedef boost::variate_generator<base_generator_type&, distribution_type> bool_gen_type;
00018 MonomialSet random_set(const Monomial& variables, unsigned int len);
00019 void set_random_seed(unsigned int seed);
00020 END_NAMESPACE_PBORIGB
00021 #endif