Class EvaluationInconsistencyListener
- java.lang.Object
-
- net.sf.tweety.logics.commons.analysis.streams.EvaluationInconsistencyListener
-
- All Implemented Interfaces:
EventListener,InconsistencyListener
public class EvaluationInconsistencyListener extends Object implements InconsistencyListener
An inconsistency listener that is apt for doing evaluations on the performance of an inconsistency measure. Stores runtime and further information in a csv file.- Author:
- Matthias Thimm
-
-
Field Summary
Fields Modifier and Type Field Description static doubleINCDEFAULTVALUEstatic doubleTOLERANCE
-
Constructor Summary
Constructors Constructor Description EvaluationInconsistencyListener(String file, int maxEvents)
-
Method Summary
Modifier and Type Method Description voidinconsistencyMeasurementStarted(InconsistencyUpdateEvent evt)This method is called by a stream-based inconsistency measure when an inconsistency measurement has started.voidinconsistencyUpdateOccured(InconsistencyUpdateEvent evt)This method is called by a stream-based inconsistency measure when an update of an inconsistency value occurs.
-
-
-
Constructor Detail
-
EvaluationInconsistencyListener
public EvaluationInconsistencyListener(String file, int maxEvents)
-
-
Method Detail
-
inconsistencyUpdateOccured
public void inconsistencyUpdateOccured(InconsistencyUpdateEvent evt)
Description copied from interface:InconsistencyListenerThis method is called by a stream-based inconsistency measure when an update of an inconsistency value occurs.- Specified by:
inconsistencyUpdateOccuredin interfaceInconsistencyListener- Parameters:
evt- some event.
-
inconsistencyMeasurementStarted
public void inconsistencyMeasurementStarted(InconsistencyUpdateEvent evt)
Description copied from interface:InconsistencyListenerThis method is called by a stream-based inconsistency measure when an inconsistency measurement has started.- Specified by:
inconsistencyMeasurementStartedin interfaceInconsistencyListener- Parameters:
evt- some event.
-
-