Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0

Converter with fixed offset. More...

#include <view.hpp>

Public Types

typedef OffsetView ViewType
 The view type.

Public Member Functions

 Offset (int off=0)
 Constructor with offset off.
OffsetView operator() (IntView &x)
 Return OffsetRefView for x.
void update (const Offset &o)
 Update during cloning.
int offset (void) const
 Access offset.

Public Attributes

int c
 The offset.

Detailed Description

Converter with fixed offset.

Definition at line 650 of file view.hpp.

Member Typedef Documentation

◆ ViewType

The view type.

Definition at line 653 of file view.hpp.

Constructor & Destructor Documentation

◆ Offset()

Gecode::Int::Offset::Offset ( int off = 0)

Constructor with offset off.

Member Function Documentation

◆ operator()()

OffsetView Gecode::Int::Offset::operator() ( IntView & x)

Return OffsetRefView for x.

◆ update()

void Gecode::Int::Offset::update ( const Offset & o)

Update during cloning.

◆ offset()

int Gecode::Int::Offset::offset ( void ) const

Access offset.

Member Data Documentation

◆ c

int Gecode::Int::Offset::c

The offset.

Definition at line 655 of file view.hpp.


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