Class Cluster
java.lang.Object
Module
Cluster
class Cluster
- extends Module
Constructor Summary |
Cluster(java.lang.String name,
double[] initDistrib,
int vertexType,
int size,
java.lang.String label)
|
Cluster(java.lang.String name,
int distribType,
int vertexType,
int size,
java.lang.String label)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
java.lang.String name
theVertices
java.util.LinkedList theVertices
nrVertices
int nrVertices
vertexType
int vertexType
distribType
int distribType
distribType_2
int distribType_2
distribType_3
int distribType_3
distribType_4
int distribType_4
label
java.lang.String label
size
int size
priorfile
java.lang.String priorfile
priorfile_2
java.lang.String priorfile_2
priorfile_3
java.lang.String priorfile_3
priorfile_4
java.lang.String priorfile_4
transPriorfile
java.lang.String transPriorfile
Cluster
public Cluster(java.lang.String name,
int distribType,
int vertexType,
int size,
java.lang.String label)
Cluster
public Cluster(java.lang.String name,
double[] initDistrib,
int vertexType,
int size,
java.lang.String label)
getSize
public int getSize()
- Specified by:
getSize
in class Module
getName
public java.lang.String getName()
- Specified by:
getName
in class Module
getLabel
public java.lang.String getLabel()
getVertexType
public int getVertexType()
- Specified by:
getVertexType
in class Module
getDistribType
public int getDistribType()
- Specified by:
getDistribType
in class Module
getPriorfile
public java.lang.String getPriorfile()
- Specified by:
getPriorfile
in class Module
getEmissionProbs
public double[] getEmissionProbs()
- Specified by:
getEmissionProbs
in class Module
getInVertices
public int[] getInVertices()
- Specified by:
getInVertices
in class Module
getVertices
public java.util.LinkedList getVertices()
- Specified by:
getVertices
in class Module
getVertex
public Vertex getVertex(int nr)
- Specified by:
getVertex
in class Module
getNrOfTransitions
public int getNrOfTransitions()
- Specified by:
getNrOfTransitions
in class Module
getNrOfRegularTransitions
public int getNrOfRegularTransitions()
- Specified by:
getNrOfRegularTransitions
in class Module
getNrOfEndTransitions
public int getNrOfEndTransitions()
- Specified by:
getNrOfEndTransitions
in class Module
getOutVertices
public int[] getOutVertices()
- Specified by:
getOutVertices
in class Module
setTransPriorScaler
public void setTransPriorScaler(double d)
- Specified by:
setTransPriorScaler
in class Module
setEmissPriorScaler
public void setEmissPriorScaler(double d)
- Specified by:
setEmissPriorScaler
in class Module
setEmissPriorScaler
public void setEmissPriorScaler(int nr,
double d)
- Specified by:
setEmissPriorScaler
in class Module
lockVertexEmissions
public void lockVertexEmissions()
- Specified by:
lockVertexEmissions
in class Module
addVerticesToVertexHash
public void addVerticesToVertexHash(java.util.Hashtable theVerticesHash)
- Specified by:
addVerticesToVertexHash
in class Module
addTransition
public boolean addTransition(int fromVertex,
int toVertex)
- Specified by:
addTransition
in class Module
addTransition
public boolean addTransition(int toVertex)
- Specified by:
addTransition
in class Module
addEndTransition
public boolean addEndTransition(int toVertex)
- Specified by:
addEndTransition
in class Module
initializeTransitionProbabilities
public void initializeTransitionProbabilities()
- Specified by:
initializeTransitionProbabilities
in class Module
setDistribType
public void setDistribType(int distribType,
double[] distribution)
- Specified by:
setDistribType
in class Module
setDistribType
public void setDistribType(int nr,
int distribType,
double[] distribution)
- Specified by:
setDistribType
in class Module
setDistribType
public void setDistribType(int distribType)
- Specified by:
setDistribType
in class Module
setDistribType
public void setDistribType(int nr,
int distribType)
- Specified by:
setDistribType
in class Module
setPriorfile
public void setPriorfile(java.lang.String priorfile)
- Specified by:
setPriorfile
in class Module
setPriorfile
public void setPriorfile(int nr,
java.lang.String priorfile)
- Specified by:
setPriorfile
in class Module
setTransPriorfile
public void setTransPriorfile(java.lang.String priorfile)
- Specified by:
setTransPriorfile
in class Module
setInternalInitDistrib
public void setInternalInitDistrib(InternalInitDistrib iid)
- Specified by:
setInternalInitDistrib
in class Module
write
public boolean write(int nrOfAlphabets,
java.io.BufferedWriter writer)
- Specified by:
write
in class Module