public class CoverageInfoWriter
extends java.lang.Object
Constructor | Description |
---|---|
CoverageInfoWriter() |
Sole constructor.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
writeCoveringAtLeastAndAtMostRules(MemoryContainer memoryContainer,
RulesContainer rulesContainer,
java.lang.String fileName,
int type) |
Writes numbers of covering certain / possible at least and certain / possible at most rules (from given rules container)
for given memory container to file with given name (path)
|
public static void writeCoveringAtLeastAndAtMostRules(MemoryContainer memoryContainer, RulesContainer rulesContainer, java.lang.String fileName, int type) throws java.io.IOException
memoryContainer
- memory container whose examples will be matched with rulesrulesContainer
- rules container containing certain / possible at least and certain / possible at most rulesfileName
- name (path) for the file in which coverage information will be savedtype
- type of rules taken into account. Can be Rule.CERTAIN
and Rule.POSSIBLE
.java.io.IOException
- when file with given name (path) can't be opened for writeInvalidValueException
- when type of rules is invalid