Package com.bayesserver.data
Class ReaderOptions
- java.lang.Object
-
- com.bayesserver.data.ReaderOptions
-
public final class ReaderOptions extends Object
Options that apply to the reading of non temporal data.- See Also:
DefaultDataReader,DefaultEvidenceReader
-
-
Constructor Summary
Constructors Constructor Description ReaderOptions()Initializes a new instance of theReaderOptionsclass.ReaderOptions(String caseIdColumn)Initializes a new instance of theReaderOptionsclass.ReaderOptions(String caseIdColumn, String weightColumn)Initializes a new instance of theReaderOptionsclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCaseIdColumn()The name of the case identifier column, if one is present.StringgetWeightColumn()The name of the case weight column, if one is present.
-
-
-
Constructor Detail
-
ReaderOptions
public ReaderOptions()
Initializes a new instance of theReaderOptionsclass.
-
ReaderOptions
public ReaderOptions(String caseIdColumn)
Initializes a new instance of theReaderOptionsclass.- Parameters:
caseIdColumn- The name of the case identifier column, if one is present.
-
ReaderOptions
public ReaderOptions(String caseIdColumn, String weightColumn)
Initializes a new instance of theReaderOptionsclass.- Parameters:
caseIdColumn- The name of the case identifier column, if one is present.weightColumn- The name of the case weight column, if one is present. Values in this column, are mapped toEvidence.getWeight().
-
-
Method Detail
-
getCaseIdColumn
public String getCaseIdColumn()
The name of the case identifier column, if one is present.
-
getWeightColumn
public String getWeightColumn()
The name of the case weight column, if one is present. Values in this column, are mapped toEvidence.getWeight().
-
-