othertools
Class Dictionary
java.lang.Object
othertools.Dictionary
public class Dictionary
- extends java.lang.Object
This class represents a dictionary od words. It contains a set of words (words), the dictionary name (name) and description (description), the minimum and maximum
word length (minLen, maxLen), the number of words (nWords) in the dictionary and the frequence of each nucleotyde in all dictionary.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dictionary
public Dictionary()
getWords
public java.util.Vector<java.lang.String> getWords()
- Returns:
- the words
setWords
public void setWords(java.util.Vector<java.lang.String> words)
- Parameters:
words
- the words to set
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- Parameters:
name
- the name to set
getDescription
public java.lang.String getDescription()
- Returns:
- the description
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- the description to set
getfA
public double getfA()
- Returns:
- the fA
setfA
public void setfA(double fA)
- Parameters:
fA
- the fA to set
getfT
public double getfT()
- Returns:
- the fT
setfT
public void setfT(double fT)
- Parameters:
fT
- the fT to set
getfC
public double getfC()
- Returns:
- the fC
setfC
public void setfC(double fC)
- Parameters:
fC
- the fC to set
getfG
public double getfG()
- Returns:
- the fG
setfG
public void setfG(double fG)
- Parameters:
fG
- the fG to set
getMinLen
public int getMinLen()
- Returns:
- the minLen
setMinLen
public void setMinLen(int minLen)
- Parameters:
minLen
- the minLen to set
getMaxLen
public int getMaxLen()
- Returns:
- the maxLen
setMaxLen
public void setMaxLen(int maxLen)
- Parameters:
maxLen
- the maxLen to set
getnWords
public int getnWords()
- Returns:
- the nWords
setnWords
public void setnWords(int nWords)
- Parameters:
nWords
- the nWords to set