Package com.bayesserver.data
Class ReadInfo
- java.lang.Object
-
- com.bayesserver.data.ReadInfo
-
public final class ReadInfo extends Object
Provides information about a non temporal record.- See Also:
DefaultDataReader
-
-
Constructor Summary
Constructors Constructor Description ReadInfo(Object caseId, double weight, DataRecord record)
Initializes a new instance of the ReadInfo class.ReadInfo(Object caseId, DataRecord record)
Initializes a new instance of theReadInfo
struct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getCaseId()
The current case id.DataRecord
getRecord()
The current record.double
getWeight()
The case weight.
-
-
-
Constructor Detail
-
ReadInfo
public ReadInfo(Object caseId, DataRecord record)
Initializes a new instance of theReadInfo
struct.- Parameters:
caseId
- The current case id. Can be null.record
- The current record.
-
ReadInfo
public ReadInfo(Object caseId, double weight, DataRecord record)
Initializes a new instance of the ReadInfo class. *- Parameters:
caseId
- The current case id. Can be null.weight
- The case weight. SeeEvidence.getWeight()
for more information.record
- The current record.
-
-
Method Detail
-
getCaseId
public Object getCaseId()
The current case id. Can be null.
-
getRecord
public DataRecord getRecord()
The current record.
-
getWeight
public double getWeight()
The case weight. SeeEvidence.getWeight()
for more information.
-
-