Package | Description |
---|---|
gov.sandia.cognition.framework.io |
Provides file format handlers for the Cognitive Framework.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CSVDefaultCognitiveModelLiteHandler.addLink(java.lang.String fromName,
java.lang.String toName,
double weight)
Called when the "link" directive is seen.
|
protected void |
CSVDefaultCognitiveModelLiteHandler.addNode(java.lang.String name)
Called when the "node" directive is seen.
|
protected boolean |
CSVDefaultCognitiveModelLiteHandler.parse(java.io.BufferedReader br)
The main parsing function.
|
static CognitiveModelLiteFactory |
CSVDefaultCognitiveModelLiteHandler.parseCSVToModelFactory(java.io.BufferedReader br,
boolean mutable)
Reads a default CognitiveModuleFactory from the given buffered reader and
puts it in a default CognitiveModelFactory.
|
static CognitiveModelLiteFactory |
CSVDefaultCognitiveModelLiteHandler.parseCSVToModelFactory(java.lang.String fileName,
boolean mutable)
Reads a default CognitiveModuleFactory from the given file and puts it in
a default CognitiveModelFactory.
|
static CognitiveModuleFactory |
CSVDefaultCognitiveModelLiteHandler.parseCSVToModuleFactory(java.io.BufferedReader br,
boolean mutable)
Reads a default CognitiveModuleFactory from the given buffered reader and
then returns it.
|
static CognitiveModuleFactory |
CSVDefaultCognitiveModelLiteHandler.parseCSVToModuleFactory(java.lang.String fileName,
boolean mutable)
Reads a default CognitiveModuleFactory from the given CSV file and
returns it.
|
protected double |
CSVDefaultCognitiveModelLiteHandler.parseHeader(java.io.BufferedReader br)
Parses the header and returns the version number.
|