Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set
// doxy/ or-tools/ src/ base/

operations_research::sparsetable< T > Class Template Reference

This class implement a simple block based sparse vector. More...

#include <sparsetable.h>

List of all members.

Public Member Functions

 sparsetable ()
void resize (int new_size)
const T & get (int index) const
void set (int index, const T &elem)
bool test (int index) const
int size () const


Detailed Description

template<class T>
class operations_research::sparsetable< T >

This class implement a simple block based sparse vector.

Definition at line 22 of file sparsetable.h.


Constructor & Destructor Documentation

template<class T>
operations_research::sparsetable< T >::sparsetable (  )  [inline]

Definition at line 24 of file sparsetable.h.


Member Function Documentation

template<class T>
void operations_research::sparsetable< T >::resize ( int  new_size  )  [inline]

Definition at line 26 of file sparsetable.h.

template<class T>
const T& operations_research::sparsetable< T >::get ( int  index  )  const [inline]

Definition at line 36 of file sparsetable.h.

template<class T>
void operations_research::sparsetable< T >::set ( int  index,
const T &  elem 
) [inline]

Definition at line 43 of file sparsetable.h.

template<class T>
bool operations_research::sparsetable< T >::test ( int  index  )  const [inline]

Definition at line 53 of file sparsetable.h.

template<class T>
int operations_research::sparsetable< T >::size (  )  const [inline]

Definition at line 59 of file sparsetable.h.


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