RBNio
Class RDEFReader

java.lang.Object
  extended by RBNio.RDEFReader

public class RDEFReader
extends java.lang.Object


Field Summary
static int READONESTRUC
           
static int READRELDATA
           
 
Constructor Summary
RDEFReader()
           
 
Method Summary
 RelData readRDEF(java.lang.String rdef, RelStruc A)
          RelData primarily stores information on observed probabilistic relations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

READONESTRUC

public static final int READONESTRUC
See Also:
Constant Field Values

READRELDATA

public static final int READRELDATA
See Also:
Constant Field Values
Constructor Detail

RDEFReader

public RDEFReader()
Method Detail

readRDEF

public RelData readRDEF(java.lang.String rdef,
                        RelStruc A)
                 throws RBNIllegalArgumentException
RelData primarily stores information on observed probabilistic relations. Specification of underlying input structures can be given either as an argument A, or can be found in the rdef file. Only one of these should be true. Therefore, if the rdef is found to contain specifications of input structures (declarations of predefined relations, domain specifications), then A must be null.

Parameters:
rdef -
A -
Returns:
Throws:
RBNIllegalArgumentException