Sequence Chart Studio  svn HEAD revision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
IntervalMatrix Class Reference

#include <time_pseudocode.h>

Collaboration diagram for IntervalMatrix:
Collaboration graph

Public Member Functions

 IntervalMatrix ()
 
 IntervalMatrix (unsigned size)
 
const unsigned int size () const
 
void fill (unsigned int x, unsigned int y, MscTimeIntervalD &c)
 adding to the matrix INTERVAL c to (x,y) and its inverse to (y,x) More...
 
MscTimeIntervalDoperator() (const unsigned int x, const unsigned int y)
 
const MscTimeIntervalDoperator() (const unsigned int x, const unsigned int y) const
 
void resize (unsigned int size, bool preserve)
 
void print () const
 

Private Attributes

BoostIntervalMatrix boost_matrix
 

Detailed Description

Definition at line 55 of file time_pseudocode.h.

Constructor & Destructor Documentation

IntervalMatrix::IntervalMatrix ( )
inline

Definition at line 59 of file time_pseudocode.h.

References boost_matrix.

IntervalMatrix::IntervalMatrix ( unsigned  size)
inline

Definition at line 64 of file time_pseudocode.h.

References boost_matrix.

Member Function Documentation

void IntervalMatrix::fill ( unsigned int  x,
unsigned int  y,
MscTimeIntervalD c 
)
inline

adding to the matrix INTERVAL c to (x,y) and its inverse to (y,x)

Definition at line 77 of file time_pseudocode.h.

References boost_matrix, ERR_MATRIX_SMALLER, and MscTimeInterval< T >::interval_inverse().

MscTimeIntervalD& IntervalMatrix::operator() ( const unsigned int  x,
const unsigned int  y 
)
inline

Definition at line 85 of file time_pseudocode.h.

References boost_matrix.

const MscTimeIntervalD& IntervalMatrix::operator() ( const unsigned int  x,
const unsigned int  y 
) const
inline

Definition at line 90 of file time_pseudocode.h.

References boost_matrix.

void IntervalMatrix::print ( ) const
inline

Definition at line 99 of file time_pseudocode.h.

References boost_matrix.

void IntervalMatrix::resize ( unsigned int  size,
bool  preserve 
)
inline

Definition at line 95 of file time_pseudocode.h.

References boost_matrix.

Referenced by MscSolveTCSP::init_simple_matrix().

const unsigned int IntervalMatrix::size ( ) const
inline

Member Data Documentation

BoostIntervalMatrix IntervalMatrix::boost_matrix
private

Definition at line 57 of file time_pseudocode.h.

Referenced by fill(), IntervalMatrix(), operator()(), print(), resize(), and size().


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

SourceForge.net Logo
Generated on Fri Jan 15 2016 16:26:58 for Sequence Chart Studio by  doxygen