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
IntervalSetMatrix Class Reference

#include <time_pseudocode.h>

Inheritance diagram for IntervalSetMatrix:
Inheritance graph
Collaboration diagram for IntervalSetMatrix:
Collaboration graph

Public Member Functions

void triangulate ()
 
unsigned get_size_of_values ()
 
void set_values (std::vector< std::set< unsigned > > val)
 
std::vector< std::set< unsigned > > get_values () const
 
std::vector< std::set< unsigned > > get_values ()
 
void clear_values ()
 
void add_value (const unsigned i, const unsigned j)
 
bool is_filled (unsigned i, unsigned j) const
 
bool not_filled (unsigned i, unsigned j) const
 
 IntervalSetMatrix ()
 
 IntervalSetMatrix (unsigned size)
 
 IntervalSetMatrix (const IntervalSetMatrix &matrix)
 
void fill (const unsigned int x, const unsigned int y, const MscTimeIntervalSetD &c)
 adding to the matrix-set INTERVAL SET c to (x,y) and its inverse to (y,x) More...
 
void fill (const unsigned x, const unsigned y, const MscTimeIntervalD &c)
 adding to the matrix-set INTERVAL c to (x,y) and its inverse to (y,x) More...
 
void resize (unsigned int i, bool preserved)
 
IntervalSetMatrixoperator= (const IntervalSetMatrix &matrix)
 
IntervalSetMatrixoperator= (const IntervalMatrix &matrix)
 
MscTimeIntervalSetDoperator() (unsigned int x, unsigned int y)
 
const MscTimeIntervalSetDoperator() (unsigned int x, unsigned int y) const
 
const unsigned int size () const
 
const
BoostIntervalSetMatrix::iterator1 
begin1 ()
 
const
BoostIntervalSetMatrix::iterator1 
end1 ()
 
void print () const
 

Private Attributes

BoostIntervalSetMatrix boost_matrix
 
std::vector< std::set< unsigned > > values
 

Detailed Description

Definition at line 196 of file time_pseudocode.h.

Constructor & Destructor Documentation

IntervalSetMatrix::IntervalSetMatrix ( )
inline

Definition at line 295 of file time_pseudocode.h.

IntervalSetMatrix::IntervalSetMatrix ( unsigned  size)
inline

Definition at line 301 of file time_pseudocode.h.

IntervalSetMatrix::IntervalSetMatrix ( const IntervalSetMatrix matrix)
inline

Definition at line 307 of file time_pseudocode.h.

References boost_matrix, and get_values().

Member Function Documentation

void IntervalSetMatrix::add_value ( const unsigned  i,
const unsigned  j 
)
inline

Definition at line 260 of file time_pseudocode.h.

Referenced by BMscIntervalSetComponentMatrix::build_up_matrix().

const BoostIntervalSetMatrix::iterator1 IntervalSetMatrix::begin1 ( )
inline

Definition at line 383 of file time_pseudocode.h.

Referenced by IntervalMatrixFunc::is_equal().

void IntervalSetMatrix::clear_values ( )
inline

Definition at line 254 of file time_pseudocode.h.

const BoostIntervalSetMatrix::iterator1 IntervalSetMatrix::end1 ( )
inline

Definition at line 388 of file time_pseudocode.h.

Referenced by IntervalMatrixFunc::is_equal().

void IntervalSetMatrix::fill ( const unsigned int  x,
const unsigned int  y,
const MscTimeIntervalSetD c 
)
inline

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

Definition at line 315 of file time_pseudocode.h.

References ERR_MATRIX_SMALLER, and MscTimeIntervalSet< double >::interval_inverse().

Referenced by BMscIntervalSetMatrix::fill(), and BMscIntervalSetMatrix::fill_intersection().

void IntervalSetMatrix::fill ( const unsigned  x,
const unsigned  y,
const MscTimeIntervalD c 
)
inline

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

Definition at line 329 of file time_pseudocode.h.

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

unsigned IntervalSetMatrix::get_size_of_values ( )
inline

Definition at line 234 of file time_pseudocode.h.

std::vector< std::set<unsigned> > IntervalSetMatrix::get_values ( ) const
inline
std::vector< std::set<unsigned> > IntervalSetMatrix::get_values ( )
inline

Definition at line 249 of file time_pseudocode.h.

bool IntervalSetMatrix::is_filled ( unsigned  i,
unsigned  j 
) const
inline

Definition at line 285 of file time_pseudocode.h.

bool IntervalSetMatrix::not_filled ( unsigned  i,
unsigned  j 
) const
inline

Definition at line 290 of file time_pseudocode.h.

MscTimeIntervalSetD& IntervalSetMatrix::operator() ( unsigned int  x,
unsigned int  y 
)
inline
const MscTimeIntervalSetD& IntervalSetMatrix::operator() ( unsigned int  x,
unsigned int  y 
) const
inline

Definition at line 371 of file time_pseudocode.h.

IntervalSetMatrix& IntervalSetMatrix::operator= ( const IntervalSetMatrix matrix)
inline

Definition at line 345 of file time_pseudocode.h.

References boost_matrix, and get_values().

Referenced by BMscIntervalSetMatrix::operator=().

IntervalSetMatrix& IntervalSetMatrix::operator= ( const IntervalMatrix matrix)
inline

Definition at line 352 of file time_pseudocode.h.

References IntervalMatrix::size().

void IntervalSetMatrix::print ( ) const
inline

Definition at line 393 of file time_pseudocode.h.

void IntervalSetMatrix::resize ( unsigned int  i,
bool  preserved 
)
inline
void IntervalSetMatrix::set_values ( std::vector< std::set< unsigned > >  val)
inline

Definition at line 239 of file time_pseudocode.h.

const unsigned int IntervalSetMatrix::size ( ) const
inline
void IntervalSetMatrix::triangulate ( )
inline

Definition at line 207 of file time_pseudocode.h.

Member Data Documentation

BoostIntervalSetMatrix IntervalSetMatrix::boost_matrix
private

Definition at line 198 of file time_pseudocode.h.

Referenced by IntervalSetMatrix(), and operator=().

std::vector< std::set<unsigned > > IntervalSetMatrix::values
private

Definition at line 201 of file time_pseudocode.h.


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