Nemo  2.4.2
Simulate forward-in-time genetic evolution in a spatially explicit, individual-based stochastic simulator
bitstring.h File Reference

Nemo2. More...

#include <bitset>
#include <assert.h>
#include <limits.h>
#include <string.h>
#include <iostream>
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bitstring
 Non-template and faster implementation of std::bitset. More...
 
class  bitstring::reference
 

Macros

#define BITS_PER_WORD   (CHAR_BIT*sizeof(unsigned long))
 
#define BITSET_WORDS(__n)   ((__n) < 1 ? 1 : ((__n) + BITS_PER_WORD - 1)/BITS_PER_WORD)
 
#define MASK   ULLONG_MAX
 

Detailed Description

Nemo2.

Copyright (C) 2006-2026 The Authors

This file is part of Nemo

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

Nemo 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Author
fred

Macro Definition Documentation

◆ BITS_PER_WORD

#define BITS_PER_WORD   (CHAR_BIT*sizeof(unsigned long))

◆ BITSET_WORDS

#define BITSET_WORDS (   __n)    ((__n) < 1 ? 1 : ((__n) + BITS_PER_WORD - 1)/BITS_PER_WORD)

◆ MASK

#define MASK   ULLONG_MAX

Generated for Nemo v2.4.2 by  doxygen 1.9.1

Catalogued on GSR