videoLat 2.0
Video conferencing delay measurements
Public Member Functions | Protected Attributes | Properties
MeasurementDistribution Class Reference

#import <MeasurementDistribution.h>

Inheritance diagram for MeasurementDistribution:
Inheritance graph
[legend]
Collaboration diagram for MeasurementDistribution:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(MeasurementDistribution *) - initWithSource:
(void) - awakeFromNib
 Initializer.
(void) - _recompute
 Internal: recompute distribution.
(NSNumber *) - valueForIndex:
 Used by GraphView: get one data point.
(NSString *) - asCSVString
 Get distribution data as CSV string.

Protected Attributes

NSMutableArray * store
 Internal: storage for our distribution bins.
int binCount
 Internal: number of bins in store.

Properties

double average
 accessor for average of source
double stddev
 accessor for stddev of source
double max
 current maximum value (value of biggest bin)
double maxXaxis
 maximum of source, and therefore our rightmost data point
double binSize
 Internal: width of each bin.
IBOutlet id
< GraphDataProviderProtocol
source
 Source of our data points.

Detailed Description

Compute distributions for datapoints.

This object is created with a MeasurementDataSource and will compute the distribution of the input values over 100 bins. It implements the GraphDataProviderProtocol so it can then be used to show a distribution plot of a set of measurement values.


Member Function Documentation

- (MeasurementDistribution *) initWithSource: (MeasurementDataStore *)  source

Initializer.

Parameters:
sourcethe set of datapoints this object should compute the distribution of The current implementation expects the source to be static, i.e. it only recomputes the distribution initially and assumes the data in the source doesn't change.

Property Documentation

- (double) binSize [read, assign]

Internal: width of each bin.

width of each bin

Reimplemented from <GraphDataProviderProtocol>.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Properties Defines