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 theReadInfostruct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetCaseId()The current case id.DataRecordgetRecord()The current record.doublegetWeight()The case weight.
-
-
-
Constructor Detail
-
ReadInfo
public ReadInfo(Object caseId, DataRecord record)
Initializes a new instance of theReadInfostruct.- 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.
-
-