Generated on Thu Apr 11 14:00:04 2019 for Gecode by doxygen 1.6.3

# Gecode::Int::NValues::SymBitMatrix Class Reference

Symmetric diagonal bit matrix. More...

`#include <nvalues.hh>`

List of all members.

## Public Member Functions

SymBitMatrix (Region &r, int n)
Initialize matrix for dimension n by n.
bool get (int x, int y) const
Is bit at position x, y set?
void set (int x, int y)
Set bit at position x, y.

## Protected Member Functions

int pos (int x, int y) const
Return position in matrix.

int n
Size of matrix.

## Detailed Description

Symmetric diagonal bit matrix.

Definition at line 71 of file nvalues.hh.

## Constructor & Destructor Documentation

 Gecode::Int::NValues::SymBitMatrix::SymBitMatrix ( Region & r, int n ) ` [inline]`

Initialize matrix for dimension n by n.

Definition at line 45 of file sym-bit-matrix.hpp.

## Member Function Documentation

 int Gecode::Int::NValues::SymBitMatrix::pos ( int x, int y ) const` [inline, protected]`

Return position in matrix.

Definition at line 39 of file sym-bit-matrix.hpp.

 bool Gecode::Int::NValues::SymBitMatrix::get ( int x, int y ) const` [inline]`

Is bit at position x, y set?

Definition at line 50 of file sym-bit-matrix.hpp.

 void Gecode::Int::NValues::SymBitMatrix::set ( int x, int y ) ` [inline]`

Set bit at position x, y.

Definition at line 57 of file sym-bit-matrix.hpp.

## Member Data Documentation

 int Gecode::Int::NValues::SymBitMatrix::n` [protected]`

Size of matrix.

Definition at line 74 of file nvalues.hh.

The documentation for this class was generated from the following files: