public class GCLPAttributeGenerator extends BaseAttributeGenerator
Attributes
Usage: $<phases> [-noCount]
Constructor and Description |
---|
GCLPAttributeGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
addAttributes(Dataset data)
Generate new attributes for a dataset.
|
java.lang.String |
printDescription(boolean htmlFormat)
Print out description of attributes.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setCountPhases(boolean countPhases)
Set whether to count number of phases at equilibrium.
|
void |
setOptions(java.util.List<java.lang.Object> Options)
Set any options for this object.
|
void |
setPhases(CompositionDataset phases)
Define phases used when computing ground states
|
runCommand
public void setOptions(java.util.List<java.lang.Object> Options) throws java.lang.Exception
Options
Options
- Array of options as Objects - can be null
java.lang.Exception
- if problem with inputspublic java.lang.String printUsage()
Options
public void setPhases(CompositionDataset phases)
phases
- Phases to considerpublic void setCountPhases(boolean countPhases)
countPhases
- Desired settingpublic void addAttributes(Dataset data)
BaseAttributeGenerator
addAttributes
in class BaseAttributeGenerator
data
- Dataset to be added toDataset.addAttribute(java.lang.String, double[])
public java.lang.String printDescription(boolean htmlFormat)
BaseAttributeGenerator
Implementation Notes
Format should look like
[Full Name of generator]: (Number of attributes) Text description of what these attributes are
For HTML format, omit the ":".
printDescription
in class BaseAttributeGenerator
htmlFormat
- Whether to print in HTML format