Diploma Thesis Percolation Simulation
C++ Sourcecode Documentation

www.AndreasKrueger.de/thesis/code

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

statistics::minmax Class Reference

#include <statistics.h>

Collaboration diagram for statistics::minmax:

Collaboration graph
[legend]
List of all members.

Public Methods

 minmax ()
 minmax (double min_, double max_)
void reset ()
void set_if_more_extreme (double comparer)

Public Attributes

double min
double max

Constructor & Destructor Documentation

statistics::minmax::minmax  
 

Definition at line 306 of file statistics.h.

References max, and min.

00306               { 
00307         max=-DBL_MAX; min=DBL_MAX; 
00308 } 

statistics::minmax::minmax double    min_,
double    max_
 

Definition at line 313 of file statistics.h.

References max, and min.

00313 { min=min_; max=max_; } 


Member Function Documentation

void statistics::minmax::reset  
 

Definition at line 309 of file statistics.h.

References max, and min.

00309                   { 
00310         max=-DBL_MAX; min=DBL_MAX; 
00311 } 

void statistics::minmax::set_if_more_extreme double    comparer
 

Definition at line 315 of file statistics.h.

References max, and min.

00315                                                { 
00316         if (comparer>max) max=comparer;
00317         if (comparer<min) min=comparer;
00318 }


Member Data Documentation

double statistics::minmax::max
 

Definition at line 299 of file statistics.h.

Referenced by minmax(), reset(), and set_if_more_extreme().

double statistics::minmax::min
 

Definition at line 298 of file statistics.h.

Referenced by minmax(), reset(), and set_if_more_extreme().


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




Diploma Thesis Sourcecode Documentation
check out the text and the executable binaries

www.AndreasKrueger.de/thesis/code