The package carmen.io provides an interface composed of the interfaces of classes Reader, Writer and LogFile.

The abstract classes Reader and Writer provides the basic interface to read and write probabilistic networks with the methods:

Where name = path + probabilistic network name + extension. This method is implemented by concrete classes in packages contained in this one.

The LogFile class provides methods to write log messages in a file called carmen.log. Each message is sended to a collection of text listeners (that can be empty).

Class diagram