de.uka.ipd.sdq.probfunction.math
Interface ISample

All Known Implementing Classes:
SampleImpl

public interface ISample

Describes a sample of a probability mass function. It contains a value and the probability that is associated to that value.

Author:
ihssane, jens

Method Summary
 double getProbability()
          Returns the probability of the value stored in the sample.
 Object getValue()
          Returns the value for which the probability is specified.
 

Method Detail

getProbability

double getProbability()
Returns the probability of the value stored in the sample.

Returns:
Probability of the value.

getValue

Object getValue()
Returns the value for which the probability is specified.

Returns:
Value object.