public class HMMManager extends java.lang.Object implements java.lang.Iterable<HMM>
Constructor and Description |
---|
HMMManager() |
Modifier and Type | Method and Description |
---|---|
HMM |
get(HMMPosition position,
Unit unit)
Retrieves an HMM by position and unit
|
java.util.Iterator<HMM> |
iterator()
Gets an iterator that iterates through all HMMs
|
void |
logInfo(java.util.logging.Logger logger)
Log information about this manager
|
void |
put(HMM hmm)
Put an HMM into this manager
|
public void put(HMM hmm)
hmm
- the hmm to managepublic HMM get(HMMPosition position, Unit unit)
position
- the position of the HMMunit
- the unit that this HMM representspublic java.util.Iterator<HMM> iterator()
iterator
in interface java.lang.Iterable<HMM>
public void logInfo(java.util.logging.Logger logger)
logger
- logger to use for this logInfo