S - The type of formulasT - The type of belief basespublic abstract class StreamBasedInconsistencyMeasure<S extends net.sf.tweety.commons.Formula> extends BeliefSetInconsistencyMeasure<S>
MEASURE_TOLERANCE| Constructor and Description |
|---|
StreamBasedInconsistencyMeasure() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addInconsistencyListener(InconsistencyListener listener)
Add a listener to this measure.
|
abstract InconsistencyMeasurementProcess<S> |
getInconsistencyMeasureProcess(net.sf.tweety.commons.streams.FormulaStream<S> stream)
Processes the formulas in the given stream one after the other.
|
abstract Double |
inconsistencyMeasure(Collection<S> formulas)
This method measures the inconsistency of the given set of formulas.
|
abstract void |
removeInconsistencyListener(InconsistencyListener listener)
Remove a listener from this measure.
|
inconsistencyMeasurepublic abstract Double inconsistencyMeasure(Collection<S> formulas)
BeliefSetInconsistencyMeasureinconsistencyMeasure in class BeliefSetInconsistencyMeasure<S extends net.sf.tweety.commons.Formula>formulas - a collection of formulas.public abstract InconsistencyMeasurementProcess<S> getInconsistencyMeasureProcess(net.sf.tweety.commons.streams.FormulaStream<S> stream)
stream - some formula stream.public abstract void addInconsistencyListener(InconsistencyListener listener)
listener - the listener to be added.public abstract void removeInconsistencyListener(InconsistencyListener listener)
listener - the listener to be removed.Copyright © 2018. All rights reserved.