at.tuwien.ifs.somtoolbox.apps.config
Class OptionFactory
java.lang.Object
at.tuwien.ifs.somtoolbox.apps.config.AbstractOptionFactory
at.tuwien.ifs.somtoolbox.apps.config.OptionFactory
public class OptionFactory
- extends AbstractOptionFactory
This class provides methods to get commonly used JSAP options. All new options your application may need should also
be registered here.
- Version:
- $Id: OptionFactory.java 3846 2010-10-11 14:49:19Z frank $
- Author:
- Rudolf Mayer
Methods inherited from class at.tuwien.ifs.somtoolbox.apps.config.AbstractOptionFactory |
findDuplicates, getFilePath, getInputDirectoryParser, getInputFileParser, getInputFileParser, getOuputFileParser, getOutputDirectoryParser, makeEnumeratedStringParser, parseResults, parseResults, parseResults, parseResults, parseResults, parseResults, printHelp, printUsage, registerOptions, registerOptions, testDuplicateOptions, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTIONS_GROWING_CELL_STRUCTURES
public static final com.martiansoftware.jsap.Parameter[] OPTIONS_GROWING_CELL_STRUCTURES
OPTIONS_DATA_INFO_GENERATOR
public static final com.martiansoftware.jsap.Parameter[] OPTIONS_DATA_INFO_GENERATOR
OPTIONS_INPUT_SIMILARITY_COMPUTER
public static final com.martiansoftware.jsap.Parameter[] OPTIONS_INPUT_SIMILARITY_COMPUTER
OPTIONS_LAGUS_KEYWORD_LABELER
public static final com.martiansoftware.jsap.Parameter[] OPTIONS_LAGUS_KEYWORD_LABELER
OPTIONS_UNIT_DESCRIPTION_REWRITER
public static final com.martiansoftware.jsap.Parameter[] OPTIONS_UNIT_DESCRIPTION_REWRITER
OPTIONS_VECTORFILE_CHOPPER
public static final com.martiansoftware.jsap.Parameter[] OPTIONS_VECTORFILE_CHOPPER
OPTIONS_VECTORFILE_PREFIX_ADDER
public static final com.martiansoftware.jsap.Parameter[] OPTIONS_VECTORFILE_PREFIX_ADDER
OPTIONS_VECTORFILE_REWRITER
public static final com.martiansoftware.jsap.Parameter[] OPTIONS_VECTORFILE_REWRITER
OPTIONS_MAP_INTERPOLATOR
public static final com.martiansoftware.jsap.Parameter[] OPTIONS_MAP_INTERPOLATOR
OptionFactory
public OptionFactory()
getOptAnnotationFile
public static com.martiansoftware.jsap.FlaggedOption getOptAnnotationFile(boolean required)
getSwitchSkipInstanceNames
public static com.martiansoftware.jsap.Parameter getSwitchSkipInstanceNames()
getSwitchSkipInputsWithoutClass
public static com.martiansoftware.jsap.Parameter getSwitchSkipInputsWithoutClass()
getSwitchTabSeparatedClassFile
public static com.martiansoftware.jsap.Parameter getSwitchTabSeparatedClassFile()
getSwitchWriteTVFile
public static com.martiansoftware.jsap.Switch getSwitchWriteTVFile()
getOptNormalizeWeights
public static com.martiansoftware.jsap.FlaggedOption getOptNormalizeWeights()
getSwitchNoPlayer
public static com.martiansoftware.jsap.Switch getSwitchNoPlayer()
getOptUseMultiCPU
public static com.martiansoftware.jsap.FlaggedOption getOptUseMultiCPU(boolean required)
getOptApplicationDirectory
public static com.martiansoftware.jsap.FlaggedOption getOptApplicationDirectory(boolean required)
getOptBaseDirName
public static com.martiansoftware.jsap.FlaggedOption getOptBaseDirName(boolean required)
getOptBaseName
public static com.martiansoftware.jsap.FlaggedOption getOptBaseName(boolean required)
getOptClassColoursFile
public static com.martiansoftware.jsap.FlaggedOption getOptClassColoursFile(boolean required)
getOptClassInformationFile
public static com.martiansoftware.jsap.FlaggedOption getOptClassInformationFile(boolean required)
getOptInputI
public static com.martiansoftware.jsap.UnflaggedOption getOptInputI(int i)
getOptInput
public static com.martiansoftware.jsap.UnflaggedOption getOptInput()
getOptClasslist
public static com.martiansoftware.jsap.FlaggedOption getOptClasslist(boolean required)
getOptDatabaseServerAddress
public static com.martiansoftware.jsap.FlaggedOption getOptDatabaseServerAddress(boolean required)
getOptDatabaseName
public static com.martiansoftware.jsap.FlaggedOption getOptDatabaseName(boolean required)
getOptDatabasePassword
public static com.martiansoftware.jsap.FlaggedOption getOptDatabasePassword(boolean required)
getOptDatabaseTableNamePrefix
public static com.martiansoftware.jsap.FlaggedOption getOptDatabaseTableNamePrefix(boolean required)
getOptDatabaseUser
public static com.martiansoftware.jsap.FlaggedOption getOptDatabaseUser(boolean required)
getOptDataInformationFileFile
public static com.martiansoftware.jsap.FlaggedOption getOptDataInformationFileFile(boolean required)
getOptDataWinnerMappingFile
public static com.martiansoftware.jsap.FlaggedOption getOptDataWinnerMappingFile(boolean required)
getOptSOMLibInputs
public static com.martiansoftware.jsap.UnflaggedOption getOptSOMLibInputs(boolean required)
getOptSOMLibMaps
public static com.martiansoftware.jsap.UnflaggedOption getOptSOMLibMaps(boolean required)
getOptSetSecondSOM
public static com.martiansoftware.jsap.FlaggedOption getOptSetSecondSOM(boolean required)
getOptDecodedOutputDir
public static com.martiansoftware.jsap.FlaggedOption getOptDecodedOutputDir(boolean required)
getOptDimension
public static com.martiansoftware.jsap.FlaggedOption getOptDimension(boolean required)
getOptDrawUnitGrid
public static com.martiansoftware.jsap.FlaggedOption getOptDrawUnitGrid(boolean required)
getOptFileNamePrefix
public static com.martiansoftware.jsap.FlaggedOption getOptFileNamePrefix(boolean required)
getOptFileNameSuffix
public static com.martiansoftware.jsap.FlaggedOption getOptFileNameSuffix(boolean required)
getOptHeight
public static com.martiansoftware.jsap.FlaggedOption getOptHeight(boolean required)
getOptHighlightedDataNamesFile
public static com.martiansoftware.jsap.FlaggedOption getOptHighlightedDataNamesFile(boolean required)
getOptHtmlFileName
public static com.martiansoftware.jsap.UnflaggedOption getOptHtmlFileName()
getOptIgnoreFile
public static com.martiansoftware.jsap.FlaggedOption getOptIgnoreFile(boolean required)
getOptBackgroundImage
public static com.martiansoftware.jsap.UnflaggedOption getOptBackgroundImage(boolean required)
getOptImageFileName
public static com.martiansoftware.jsap.UnflaggedOption getOptImageFileName()
getOptImageFileType
public static com.martiansoftware.jsap.FlaggedOption getOptImageFileType(boolean required)
getOptInitialVisParams
public static com.martiansoftware.jsap.FlaggedOption getOptInitialVisParams(boolean required)
getOptInitialVisualisation
public static com.martiansoftware.jsap.FlaggedOption getOptInitialVisualisation(boolean required)
getOptInitialPalette
public static com.martiansoftware.jsap.FlaggedOption getOptInitialPalette(boolean required)
getOptInputFileName
public static com.martiansoftware.jsap.FlaggedOption getOptInputFileName(boolean required)
getOptInputFileName
public static com.martiansoftware.jsap.UnflaggedOption getOptInputFileName()
getOptInputLabel
public static com.martiansoftware.jsap.FlaggedOption getOptInputLabel(boolean required)
getOptInputVectorFile
public static com.martiansoftware.jsap.FlaggedOption getOptInputVectorFile(boolean required)
getOptInputFormat
public static com.martiansoftware.jsap.FlaggedOption getOptInputFormat(boolean required,
String[] validOptionValues)
getOptInputVectorDistanceMatrix
public static com.martiansoftware.jsap.FlaggedOption getOptInputVectorDistanceMatrix(boolean required)
getOptInterleave
public static com.martiansoftware.jsap.FlaggedOption getOptInterleave(boolean required,
Integer defaultValue)
getOptK
public static com.martiansoftware.jsap.FlaggedOption getOptK(boolean required)
getOptKaskiNumber
public static com.martiansoftware.jsap.FlaggedOption getOptKaskiNumber(boolean required)
getOptKeepInputsFile
public static com.martiansoftware.jsap.FlaggedOption getOptKeepInputsFile(boolean required)
getOptLabelFileName
public static com.martiansoftware.jsap.FlaggedOption getOptLabelFileName(boolean required)
getOptLabeling
public static com.martiansoftware.jsap.FlaggedOption getOptLabeling(boolean required)
getOptLinkageFile
public static com.martiansoftware.jsap.FlaggedOption getOptLinkageFile(boolean required)
getOptMapDescriptionFile
public static com.martiansoftware.jsap.FlaggedOption getOptMapDescriptionFile(boolean required)
getOptInputCorrections
public static com.martiansoftware.jsap.FlaggedOption getOptInputCorrections(boolean required)
getOptMergeMode
public static com.martiansoftware.jsap.FlaggedOption getOptMergeMode()
getOptMetric
public static com.martiansoftware.jsap.FlaggedOption getOptMetric(boolean required)
getOptMetricParams
public static com.martiansoftware.jsap.FlaggedOption getOptMetricParams(boolean required)
getOptNameMappingFile
public static com.martiansoftware.jsap.FlaggedOption getOptNameMappingFile(boolean required)
getOptNormMethod
public static com.martiansoftware.jsap.FlaggedOption getOptNormMethod(boolean required)
getOptNumberLabels
public static com.martiansoftware.jsap.FlaggedOption getOptNumberLabels(boolean required)
getOptNumberLabels
public static com.martiansoftware.jsap.FlaggedOption getOptNumberLabels(boolean required,
String defaultValue)
getOptNumberVariants
public static com.martiansoftware.jsap.FlaggedOption getOptNumberVariants(boolean required,
Integer defaultValue)
getOptNumberWinners
public static com.martiansoftware.jsap.FlaggedOption getOptNumberWinners(boolean required)
getOptNumberNeighbours
public static com.martiansoftware.jsap.FlaggedOption getOptNumberNeighbours(boolean required)
getOptOriginalText
public static com.martiansoftware.jsap.FlaggedOption getOptOriginalText(boolean required)
getOptInputDirectory
public static com.martiansoftware.jsap.FlaggedOption getOptInputDirectory(boolean required)
getOptRotation
public static com.martiansoftware.jsap.FlaggedOption getOptRotation(boolean required)
getOptFlip
public static com.martiansoftware.jsap.FlaggedOption getOptFlip(boolean required)
getOptOutputDirectory
public static com.martiansoftware.jsap.FlaggedOption getOptOutputDirectory(boolean required)
getOptOutputFileName
public static com.martiansoftware.jsap.UnflaggedOption getOptOutputFileName(boolean required)
getOptOutputFormat
public static com.martiansoftware.jsap.FlaggedOption getOptOutputFormat(boolean required,
String[] validOptionValues)
getOptOutputFormat
public static com.martiansoftware.jsap.FlaggedOption getOptOutputFormat(boolean required,
String defaultValue,
String[] validOptionValues)
getOptOutputVector
public static com.martiansoftware.jsap.UnflaggedOption getOptOutputVector()
getOptDecodeProbability
public static com.martiansoftware.jsap.FlaggedOption getOptDecodeProbability(boolean required)
getOptProperties
public static com.martiansoftware.jsap.UnflaggedOption getOptProperties(boolean required)
getOptQualityMeasureClass
public static com.martiansoftware.jsap.FlaggedOption getOptQualityMeasureClass(boolean required)
- Quality Measure Class (e.g. q_te for
TopographicError
getOptQualityMeasureVariant
public static com.martiansoftware.jsap.FlaggedOption getOptQualityMeasureVariant(boolean required)
- Quality Measure variant
getOptRegressionInformationFile
public static com.martiansoftware.jsap.FlaggedOption getOptRegressionInformationFile(boolean required)
getOptRemoveDirName
public static com.martiansoftware.jsap.FlaggedOption getOptRemoveDirName(boolean required)
getOptReplacement
public static com.martiansoftware.jsap.FlaggedOption getOptReplacement(boolean required)
getOptTemplateVectorFile
public static com.martiansoftware.jsap.FlaggedOption getOptTemplateVectorFile(boolean required)
getOptReplace
public static com.martiansoftware.jsap.FlaggedOption getOptReplace(boolean required)
getOptUnitDescriptionFile
public static com.martiansoftware.jsap.FlaggedOption getOptUnitDescriptionFile(boolean required)
getOptUnstemmedDirectory
public static com.martiansoftware.jsap.FlaggedOption getOptUnstemmedDirectory(boolean required)
getOptViewerWorkingDir
public static com.martiansoftware.jsap.FlaggedOption getOptViewerWorkingDir(boolean required)
getOptVisualisations
public static com.martiansoftware.jsap.UnflaggedOption getOptVisualisations(boolean required)
getOptWeightVectorFile
public static com.martiansoftware.jsap.FlaggedOption getOptWeightVectorFile(boolean required)
getOptWeightVectorFileInit
public static com.martiansoftware.jsap.FlaggedOption getOptWeightVectorFileInit(boolean required)
getOptWidth
public static com.martiansoftware.jsap.FlaggedOption getOptWidth(boolean required)
getOptXMLStructures
public static com.martiansoftware.jsap.FlaggedOption getOptXMLStructures(boolean required)
getOptGZip
public static com.martiansoftware.jsap.FlaggedOption getOptGZip(boolean required,
boolean defaultValue)
getOptShowLabels
public static com.martiansoftware.jsap.FlaggedOption getOptShowLabels()
getOptSomPAKFile
public static com.martiansoftware.jsap.FlaggedOption getOptSomPAKFile(boolean required)
getOptStartIndex
public static com.martiansoftware.jsap.FlaggedOption getOptStartIndex(boolean required,
Integer defaultValue)
getOptStemmedDirectory
public static com.martiansoftware.jsap.FlaggedOption getOptStemmedDirectory(boolean required)
getSwitchDocumentMode
public static com.martiansoftware.jsap.Switch getSwitchDocumentMode()
getSwitchDrawLines
public static com.martiansoftware.jsap.Switch getSwitchDrawLines()
getSwitchHtmlOutput
public static com.martiansoftware.jsap.Switch getSwitchHtmlOutput(boolean required)
getSwitchIgnoreLabelsWithZero
public static com.martiansoftware.jsap.Switch getSwitchIgnoreLabelsWithZero()
getSwitchIsDenseData
public static com.martiansoftware.jsap.Switch getSwitchIsDenseData()
getSwitchIsNormalized
public static com.martiansoftware.jsap.Switch getSwitchIsNormalized()
getSwitchPreserveFeatureOrder
public static com.martiansoftware.jsap.Parameter getSwitchPreserveFeatureOrder()
getSwitchPreserveVectorOrder
public static com.martiansoftware.jsap.Parameter getSwitchPreserveVectorOrder()
getSwitchSkipDataWinnerMapping
public static com.martiansoftware.jsap.Switch getSwitchSkipDataWinnerMapping()
getSwitchVerboose
public static com.martiansoftware.jsap.Switch getSwitchVerboose()
getOptCompressionRate
public static com.martiansoftware.jsap.FlaggedOption getOptCompressionRate()
getOptDocument
public static com.martiansoftware.jsap.FlaggedOption getOptDocument()
getOptMethod
public static com.martiansoftware.jsap.FlaggedOption getOptMethod()
main
public static void main(String[] args)