Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

Random Class Reference

#include <Random.hpp>

List of all members.

Static Public Member Functions

int max ()
int integer ()
int integer (int modulus)
int bit ()
void seed (int s)
int seed ()
void trulyRandom ()

Static Private Member Functions

int bitsPerInt ()

Static Private Attributes

int _seed = 1
int _remainingBits = 0
const int _bitsPerInt = Random::bitsPerInt ()
int _bits


Detailed Description

This software is an adaptation of the theorem prover Vampire for working with large knowledge bases in the KIF format, see http://www.prover.info for publications on Vampire.

Copyright (C) Andrei Voronkov and Alexandre Riazanov

Author:
Alexandre Riazanov <riazanov@cs.man.ac.uk>

Andrei Voronkov <voronkov@cs.man.ac.uk>, <andrei@voronkov.com>

Date:
06/06/2003
This software is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Member Function Documentation

int Random::bit  )  [inline, static]
 

int Random::bitsPerInt  )  [static, private]
 

int Random::integer int  modulus  )  [inline, static]
 

int Random::integer  )  [inline, static]
 

int Random::max  )  [inline, static]
 

int Random::seed  )  [inline, static]
 

void Random::seed int  s  )  [inline, static]
 

void Random::trulyRandom  )  [inline, static]
 


Member Data Documentation

int Random::_bits [static, private]
 

const int Random::_bitsPerInt = Random::bitsPerInt () [static, private]
 

int Random::_remainingBits = 0 [static, private]
 

int Random::_seed = 1 [static, private]
 

This software is an adaptation of the theorem prover Vampire for working with large knowledge bases in the KIF format, see http://www.prover.info for publications on Vampire.

Copyright (C) Andrei Voronkov and Alexandre Riazanov

Author:
Alexandre Riazanov <riazanov@cs.man.ac.uk>

Andrei Voronkov <voronkov@cs.man.ac.uk>, <andrei@voronkov.com>

Date:
06/06/2003
This software is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


The documentation for this class was generated from the following files:
Generated on Sat Jun 28 15:08:59 2003 for Vampire by doxygen 1.3.2