MRS  1.0
A C++ Class Library for Statistical Set Processing
LabBox Class Reference

A labeled box class. More...

List of all members.

Public Member Functions

void Print (std::ostream &out)
 Output formatted with brackets etc, suitable for human reading.
void Output (std::ostream &out)
 Tab-delimited output format for a labelled box, numeric only.

Public Attributes

ivector Box
 specifies the box as cxsc::ivector Box of the labeled box LabBox
int L
 specifies the label L of the labeled box LabBox
int SamplesToDo
 number of samples to be drawn from each labeled box LabBox

Detailed Description

A labeled box class.


Member Function Documentation

void LabBox::Output ( std::ostream &  out) [inline]

Tab-delimited output format for a labelled box, numeric only.

Suitable to be read with MATLAB's dlmread etc.

    {
      out << L;
      for(int i=Lb(Box); i<=Ub(Box); i++)
      {
        out << "\t" << Inf(Box[i]) << "\t" << Sup(Box[i]);
      }
      out << std::endl;
      return;
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends