Class EvaluationInconsistencyListener
- java.lang.Object
-
- net.sf.tweety.logics.commons.analysis.streams.EvaluationInconsistencyListener
-
- All Implemented Interfaces:
java.util.EventListener
,InconsistencyListener
public class EvaluationInconsistencyListener extends java.lang.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 double
INCDEFAULTVALUE
static double
TOLERANCE
-
Constructor Summary
Constructors Constructor Description EvaluationInconsistencyListener(java.lang.String file, int maxEvents)
-
Method Summary
Modifier and Type Method Description void
inconsistencyMeasurementStarted(InconsistencyUpdateEvent evt)
This method is called by a stream-based inconsistency measure when an inconsistency measurement has started.void
inconsistencyUpdateOccured(InconsistencyUpdateEvent evt)
This method is called by a stream-based inconsistency measure when an update of an inconsistency value occurs.
-
-
-
Method Detail
-
inconsistencyUpdateOccured
public void inconsistencyUpdateOccured(InconsistencyUpdateEvent evt)
Description copied from interface:InconsistencyListener
This method is called by a stream-based inconsistency measure when an update of an inconsistency value occurs.- Specified by:
inconsistencyUpdateOccured
in interfaceInconsistencyListener
- Parameters:
evt
- some event.
-
inconsistencyMeasurementStarted
public void inconsistencyMeasurementStarted(InconsistencyUpdateEvent evt)
Description copied from interface:InconsistencyListener
This method is called by a stream-based inconsistency measure when an inconsistency measurement has started.- Specified by:
inconsistencyMeasurementStarted
in interfaceInconsistencyListener
- Parameters:
evt
- some event.
-
-