Package com.bayesserver.data
Class DefaultReadOptions
- java.lang.Object
-
- com.bayesserver.data.DefaultReadOptions
-
- All Implemented Interfaces:
ReadOptions
public final class DefaultReadOptions extends Object implements ReadOptions
Provides a default implementation ofReadOptions
.
-
-
Constructor Summary
Constructors Constructor Description DefaultReadOptions()
Initializes a new instance of theDefaultReadOptions
class.DefaultReadOptions(boolean cleared)
Initializes a new instance of theDefaultReadOptions
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getCleared()
Gets a value indicating whether theEvidence
has been cleared prior toEvidenceReader.read(com.bayesserver.inference.Evidence, com.bayesserver.data.ReadOptions)
being called.void
setCleared(boolean value)
Sets a value indicating whether theEvidence
has been cleared prior toEvidenceReader.read(com.bayesserver.inference.Evidence, com.bayesserver.data.ReadOptions)
being called.
-
-
-
Constructor Detail
-
DefaultReadOptions
public DefaultReadOptions()
Initializes a new instance of theDefaultReadOptions
class.
-
DefaultReadOptions
public DefaultReadOptions(boolean cleared)
Initializes a new instance of theDefaultReadOptions
class.- Parameters:
cleared
- A value indicating whether theEvidence
has been cleared prior toEvidenceReader.read(com.bayesserver.inference.Evidence, com.bayesserver.data.ReadOptions)
being called.
-
-
Method Detail
-
getCleared
public boolean getCleared()
Gets a value indicating whether theEvidence
has been cleared prior toEvidenceReader.read(com.bayesserver.inference.Evidence, com.bayesserver.data.ReadOptions)
being called.- Specified by:
getCleared
in interfaceReadOptions
-
setCleared
public void setCleared(boolean value)
Sets a value indicating whether theEvidence
has been cleared prior toEvidenceReader.read(com.bayesserver.inference.Evidence, com.bayesserver.data.ReadOptions)
being called.
-
-