|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.app.analyst.script.AnalystScript
public class AnalystScript
Holds a script for the Encog Analyst.
| Field Summary | |
|---|---|
static int |
DEFAULT_MAX_CLASS
The default MAX size for a class. |
| Constructor Summary | |
|---|---|
AnalystScript()
Construct an analyst script. |
|
| Method Summary | |
|---|---|
void |
addTask(AnalystTask task)
Add a task. |
void |
clearTasks()
Clear all tasks. |
CSVFormat |
determineFormat()
Determine the output format. |
boolean |
expectInputHeaders(String filename)
Determine if input headers are expected. |
DataField |
findDataField(String name)
Find the specified data field. |
int |
findDataFieldIndex(DataField df)
Find the specified data field and return its index. |
AnalystField |
findNormalizedField(String name,
int slice)
Find the specified normalized field. |
String |
getBasePath()
|
DataField[] |
getFields()
|
AnalystNormalize |
getNormalize()
|
int |
getPrecision()
|
ScriptProperties |
getProperties()
|
AnalystSegregate |
getSegregate()
|
AnalystTask |
getTask(String name)
Get the specified task. |
Map<String,AnalystTask> |
getTasks()
|
void |
init()
Init this script. |
boolean |
isGenerated(String filename)
Determine if the specified file was generated. |
void |
load(InputStream stream)
Load the script. |
void |
markGenerated(String filename)
Mark the sepcified filename as generated. |
File |
resolveFilename(String sourceID)
Resolve the specified filename. |
void |
save(OutputStream stream)
Save to the specified output stream. |
void |
setBasePath(String theBasePath)
Set the base path. |
void |
setFields(DataField[] theFields)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_MAX_CLASS
| Constructor Detail |
|---|
public AnalystScript()
| Method Detail |
|---|
public final void addTask(AnalystTask task)
task - The task to add.public final void clearTasks()
public final CSVFormat determineFormat()
public final boolean expectInputHeaders(String filename)
filename - The filename.
public final DataField findDataField(String name)
name - The name to search for.
public final int findDataFieldIndex(DataField df)
df - The data field to search for.
public final AnalystField findNormalizedField(String name,
int slice)
name - The name of the field we are searching for.slice - The timeslice.
public final String getBasePath()
public final DataField[] getFields()
public final AnalystNormalize getNormalize()
public final int getPrecision()
public final ScriptProperties getProperties()
public final AnalystSegregate getSegregate()
public final AnalystTask getTask(String name)
name - The name of the testk.
public final Map<String,AnalystTask> getTasks()
public final void init()
public final boolean isGenerated(String filename)
filename - The filename to check.
public final void load(InputStream stream)
stream - The stream to load from.public final void markGenerated(String filename)
filename - The filename.public final File resolveFilename(String sourceID)
sourceID - The filename to resolve.
public final void save(OutputStream stream)
stream - The output stream.public final void setBasePath(String theBasePath)
theBasePath - The base path.public final void setFields(DataField[] theFields)
theFields - the fields to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||