com.rubecula.jquantity
Interface FuzzyMutable

All Superinterfaces:
java.lang.Cloneable, Fuzzy, Mutable
All Known Implementing Classes:
FuzzInt, Rational

public interface FuzzyMutable
extends Fuzzy, Mutable

This interface specifies the methods which allow setting fuzzy data: setBoundAbs, setBoundRel, setModel.

Since:
V_0_2
Version:
$Revision: 1.5 $
Author:
Robin Hillyard

Field Summary
 
Fields inherited from interface com.rubecula.jquantity.Fuzzy
$DistGaussian, $DistInvalid, $DistNone, $DistUniform, $Names
 
Method Summary
 void setBound(double bound)
          Method to set the relative bound of fuzzy value.
 void setModel(int model)
          Method to set the error distribution model.
 
Methods inherited from interface com.rubecula.jquantity.Fuzzy
getBound, getModel, isExact
 
Methods inherited from interface com.rubecula.jquantity.Mutable
isMutable, setConstant
 

Method Detail

setBound

public void setBound(double bound)
Method to set the relative bound of fuzzy value.

Parameters:
bound - the relative bound

setModel

public void setModel(int model)
Method to set the error distribution model.

Parameters:
model - the distribution model: $DistNone, $DistUniform or $DistGaussian