p3j.misc.errors
Class ProbabilityError
java.lang.Object
p3j.misc.errors.GeneratorError
p3j.misc.errors.ProbabilityError
- All Implemented Interfaces:
- Serializable
public class ProbabilityError
- extends GeneratorError
An exception that represents an error with a set of probabilities. This
happen if, e.g., it is 0 or doesn't sum up to 1.
Created on January 21, 2007
- Author:
- Christina Bohk, Roland Ewald
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProbabilityError
public ProbabilityError(boolean eqZero,
String msg)
- Default constructor.
- Parameters:
eqZero
- flag that indicates the sum is equal to zeromsg
- the message to be displayed to the user
isEqualZero
public boolean isEqualZero()
Copyright © 2012. All Rights Reserved.