randomset.h
Go to the documentation of this file.
//
// untitled
//
// Created by on 2007-12-13.
// Copyright (c) 2007 The PolyBoRi Team. See LICENSE file.
// PolyBoRi Project
#ifndef PB_GB_RANDOM_HEADER
#define PB_GB_RANDOM_HEADER
#include "groebner_defs.h"
#include <boost/random/uniform_smallint.hpp>
#include <boost/random/linear_congruential.hpp>
#include <boost/random/variate_generator.hpp>
BEGIN_NAMESPACE_PBORIGB
typedef boost::minstd_rand base_generator_type;
typedef boost::uniform_smallint<> distribution_type;
typedef boost::variate_generator<base_generator_type&, distribution_type> bool_gen_type;
MonomialSet random_set(const Monomial& variables, unsigned int len);
void set_random_seed(unsigned int seed);
END_NAMESPACE_PBORIGB
#endif
polybori::groebner::set_random_seed
void set_random_seed(unsigned int seed)
Definition: randomset.cc:18
END_NAMESPACE_PBORIGB
#define END_NAMESPACE_PBORIGB
Definition: groebner_defs.h:16
polybori::groebner::base_generator_type
boost::minstd_rand base_generator_type
Definition: randomset.h:15
polybori::groebner::distribution_type
boost::uniform_smallint distribution_type
Definition: randomset.h:16
BEGIN_NAMESPACE_PBORIGB
#define BEGIN_NAMESPACE_PBORIGB
Definition: groebner_defs.h:15
groebner_defs.h
polybori::groebner::random_set
MonomialSet random_set(const Monomial &variables, unsigned int len)
Definition: randomset.cc:44
polybori::groebner::bool_gen_type
boost::variate_generator< base_generator_type &, distribution_type > bool_gen_type
Definition: randomset.h:17
polybori::BooleSet
Definition: BooleSet.h:57
polybori::BooleMonomial
This class is just a wrapper for using variables from cudd's decicion diagram.
Definition: BooleMonomial.h:50