public class ClusterQuantiserOptions extends AbstractClusterQuantiserOptions
ClusterQuantiser
tool.Modifier and Type | Field and Description |
---|---|
protected Class<? extends SpatialClusters<?>> |
clusterClass |
protected ClusterType.ClusterTypeOp |
clusterTypeOp |
protected File |
input_file |
protected Class<? extends SpatialClusters<?>> |
otherClusterClass |
protected File |
samplesFile |
protected boolean |
samplesFileMode |
exactQuant, extension, EXTRA_USAGE_INFO, fileType, info_mode, infoFile, inputFiles, otherInfoFile, quant_mode, quantLocation
Constructor and Description |
---|
ClusterQuantiserOptions()
Construct with defaults
|
ClusterQuantiserOptions(String[] args)
Construct with arguments
|
Modifier and Type | Method and Description |
---|---|
Class<? extends SpatialClusters<?>> |
getClusterClass() |
ClusterType.ClusterTypeOp |
getClusterType() |
String |
getInputFileCommonRoot() |
List<File> |
getInputFiles() |
String |
getInputFileString() |
Class<? extends SpatialClusters<?>> |
getOtherInfoClass() |
String |
getOtherInfoFile() |
ClusterType.ClusterTypeOp |
getOtherInfoType() |
File |
getOutputFile() |
String |
getOutputFileString() |
byte[][] |
getSampleKeypoints() |
int |
getSamples() |
File |
getSamplesFile() |
String |
getTreeFile() |
boolean |
isBatchedSampleMode() |
boolean |
isCreateMode() |
boolean |
isSamplesFileMode() |
void |
loadSamplesFile()
load the samples file
|
boolean |
printTiming() |
void |
setClusterType(ClusterType clusterType)
Set the cluster type
|
void |
setClusterTypeOp(ClusterType.ClusterTypeOp clusterTypeOp)
Set the clusterTypeOp
|
void |
setInputFiles(List<File> files)
Set the input files
|
void |
setSamples(int nsamples)
Set the number of samples
|
void |
validate()
Validate the options
|
getConcurrency, getCountMode, getExtension, getFileType, getRandomSeed, getVerbosity, isInfoMode, isQuantMode, prepare, setFileType
protected ClusterType.ClusterTypeOp clusterTypeOp
protected Class<? extends SpatialClusters<?>> clusterClass
protected Class<? extends SpatialClusters<?>> otherClusterClass
protected File samplesFile
protected boolean samplesFileMode
protected File input_file
public ClusterQuantiserOptions(String[] args)
args
- public ClusterQuantiserOptions()
public boolean isSamplesFileMode()
public byte[][] getSampleKeypoints()
public int getSamples()
public File getSamplesFile()
public ClusterType.ClusterTypeOp getClusterType()
getClusterType
in class AbstractClusterQuantiserOptions
public void loadSamplesFile()
public void validate() throws org.kohsuke.args4j.CmdLineException
AbstractClusterQuantiserOptions
validate
in class AbstractClusterQuantiserOptions
org.kohsuke.args4j.CmdLineException
public String getTreeFile() throws IOException
getTreeFile
in class AbstractClusterQuantiserOptions
IOException
public boolean isCreateMode()
public boolean isBatchedSampleMode()
public List<File> getInputFiles() throws IOException
IOException
public File getOutputFile() throws IOException
IOException
public String getInputFileString()
getInputFileString
in class AbstractClusterQuantiserOptions
public String getOutputFileString()
getOutputFileString
in class AbstractClusterQuantiserOptions
public String getOtherInfoFile()
getOtherInfoFile
in class AbstractClusterQuantiserOptions
public ClusterType.ClusterTypeOp getOtherInfoType()
getOtherInfoType
in class AbstractClusterQuantiserOptions
public Class<? extends SpatialClusters<?>> getClusterClass()
getClusterClass
in class AbstractClusterQuantiserOptions
public Class<? extends SpatialClusters<?>> getOtherInfoClass()
getOtherInfoClass
in class AbstractClusterQuantiserOptions
public void setInputFiles(List<File> files)
files
- public void setClusterType(ClusterType clusterType)
clusterType
- public void setClusterTypeOp(ClusterType.ClusterTypeOp clusterTypeOp)
clusterTypeOp
- public String getInputFileCommonRoot() throws IOException
IOException
public boolean printTiming()
public void setSamples(int nsamples)
nsamples
- the number of samples