nl.tudelft.simulation.jstats.distributions.empirical
Class Observations.Observation
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Observations.Observation
public Observations.Observation(Number observation,
Double cumProbability)
- constructs a new Observation
- Parameters:
observation
- the observationcumProbability
- the cum probabilty
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.