com.azalient.api.b.parameters
Interface IDistribution

All Superinterfaces:
IRecord, RecordR, RecordRW, RecordW, SortableData, StoreRecordRW
All Known Subinterfaces:
IDiscreteDistribution

public interface IDistribution
extends StoreRecordRW

A distribution can be either discrete or continuous, has a mean value, and returns a numeric value for a given strand of DNA.


Field Summary
 
Fields inherited from interface com.azalient.api.a.tables.IRecord
DELETED, KEY_SEP, KEY_SEP_CHAR
 
Method Summary
 double mean()
          Returns the mean value of the distribution
 double randomDouble(ITrip trip, Strand strandDiscrete, Strand strandContinuousGaussian)
          Returns a random value based on the trip and the given strand of DNA, using either
 
Methods inherited from interface com.azalient.api.file.StoreRecordRW
canRename, rename, store
 
Methods inherited from interface com.azalient.api.file.RecordR
extraSet, finished, isApplicable, isEditable, set
 
Methods inherited from interface com.azalient.api.a.tables.IRecord
name
 
Methods inherited from interface com.azalient.api.file.RecordW
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile
 

Method Detail

mean

double mean()
Returns the mean value of the distribution


randomDouble

double randomDouble(ITrip trip,
                    Strand strandDiscrete,
                    Strand strandContinuousGaussian)
Returns a random value based on the trip and the given strand of DNA, using either