public class DirectedGraphReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DECISIONNODE
Bit code for identifying a node id as a decision node id in binary DirectedGraph files
|
static int |
DIRECTEDGRAPHNODE
Bit code for identifying a node id as a directed node id in binary DirectedGraph files
|
static int |
LEAFNODE
Bit code for identifying a node id as a leaf node id in binary DirectedGraph files
|
| Constructor and Description |
|---|
DirectedGraphReader() |
| Modifier and Type | Method and Description |
|---|---|
DirectedGraph |
load(InputStream inStream)
Load the directed graph from the given file
|
DirectedGraph |
load(String fileName)
Load the directed graph from the given file
|
public static int LEAFNODE
public static int DECISIONNODE
public static int DIRECTEDGRAPHNODE
public DirectedGraph load(String fileName) throws IOException, MaryConfigurationException
fileName - the file to load the cart fromIOException - , MaryConfigurationException if a problem occurs while loadingMaryConfigurationException - MaryConfigurationExceptionpublic DirectedGraph load(InputStream inStream) throws IOException, MaryConfigurationException
inStream - the input streamIOException - , MaryConfigurationException if a problem occurs while loadingMaryConfigurationException - MaryConfigurationExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.