/usr/include/polybori/groebner/randomset.h is in libpolybori-groebner-dev 0.8.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | //
// 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
|