Generated on Wed Nov 1 15:05:21 2006 for Gecode by doxygen 1.4.5

Gecode::MiniModel::Matrix< A >::Slice Class Reference

#include <minimodel.hh>

List of all members.


Detailed Description

template<class A>
class Gecode::MiniModel::Matrix< A >::Slice

A slice of a matrix.

This class represents a slice of the matrix. It is used to get context-dependent behaviour. The slice will be automatically converted to an args_type Args-array or to a Matrix<args_type> depending on the context where it is used.

Definition at line 851 of file minimodel.hh.

Public Member Functions

 Slice (Matrix< A > &a, unsigned int fc, unsigned int tc, unsigned int fr, unsigned int tr)
 operator args_type (void)
 operator Matrix (void)


Constructor & Destructor Documentation

template<class A>
Gecode::MiniModel::Matrix< A >::Slice::Slice Matrix< A > &  a,
unsigned int  fc,
unsigned int  tc,
unsigned int  fr,
unsigned int  tr
[inline]
 

Definition at line 29 of file matrix.icc.


Member Function Documentation

template<class A>
Gecode::MiniModel::Matrix< A >::Slice::operator args_type void   ) 
 

template<class A>
Gecode::MiniModel::Matrix< A >::Slice::operator Matrix< typename Matrix< A >::args_type > void   )  [inline]
 

Definition at line 55 of file matrix.icc.


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