public class Composition
extends java.lang.Object
SymbolList.
Essentially a conveniece wrapper around a Distribution.| Constructor and Description |
|---|
Composition() |
| Modifier and Type | Method and Description |
|---|---|
Distribution |
getDistribution()
Returns the distribution backing this class.
|
void |
setSymbolList(SymbolList symbolList)
Set the
SymbolList to calculation the composition of. |
public void setSymbolList(SymbolList symbolList) throws IllegalSymbolException
SymbolList to calculation the composition of.symbolList - a SymbolList from the DNA Alphabet.IllegalSymbolException - if symbolList
is not DNA.public Distribution getDistribution()
Distribution