Package com.bayesserver.data
Interface EvidenceReaderCommandFactory
-
- All Known Implementing Classes:
DataTableEvidenceReaderCommandFactory
public interface EvidenceReaderCommandFactory
Creates evidence reader commands, for repeated iterating of a data set/partition of a data set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EvidenceReaderCommand
create(Network network)
Create an evidence reader command, based on a specific network which may be a copy of the original.EvidenceReaderCommand
createPartitioned(Network network, DataPartitioning dataPartitioning, int partitionCount)
Create an evidence reader command on a partition, based on a specific network which may be a copy of the original.
-
-
-
Method Detail
-
create
EvidenceReaderCommand create(Network network)
Create an evidence reader command, based on a specific network which may be a copy of the original.- Parameters:
network
- The network to base the reader on.- Returns:
- A new evidence reader command.
-
createPartitioned
EvidenceReaderCommand createPartitioned(Network network, DataPartitioning dataPartitioning, int partitionCount)
Create an evidence reader command on a partition, based on a specific network which may be a copy of the original.- Parameters:
network
- The network to base the reader on.dataPartitioning
- The partition number and method such as include/exclude.partitionCount
- The total number of partitions.- Returns:
- A new evidence reader command.
-
-