nl.tudelft.simulation.jstats.distributions.empirical
Class Observations.Observation

java.lang.Object
  extended by nl.tudelft.simulation.jstats.distributions.empirical.Observations.Observation
All Implemented Interfaces:
ObservationsInterface.Entry
Enclosing class:
Observations

public class Observations.Observation
extends Object
implements ObservationsInterface.Entry

The Observation class holds one observation, cummulative probability entry. (c) copyright 2004 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl/dsol
License of use: General Public License (GPL) , no warranty

Since:
1.2
Version:
1.0 Nov 2, 2004
Author:
Peter Jacobs

Constructor Summary
Observations.Observation(Number observation, Double cumProbability)
          constructs a new Observation
 
Method Summary
 Double getCumProbability()
          Returns the cummulative probability corresponding to this entry.
 Number getObservation()
          Returns the observation corresponding to this entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Observations.Observation

public Observations.Observation(Number observation,
                                Double cumProbability)
constructs a new Observation

Parameters:
observation - the observation
cumProbability - the cum probabilty
Method Detail

getCumProbability

public Double getCumProbability()
Description copied from interface: ObservationsInterface.Entry
Returns the cummulative probability corresponding to this entry.

Specified by:
getCumProbability in interface ObservationsInterface.Entry
Returns:
the cummulative probability corresponding to this entry.
See Also:
ObservationsInterface.Entry.getCumProbability()

getObservation

public Number getObservation()
Returns the observation corresponding to this entry.

Specified by:
getObservation in interface ObservationsInterface.Entry
Returns:
the observation corresponding to this entry.


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.