Class InconsistencyMeasurementProcess<S extends Formula>
java.lang.Object
java.lang.Thread
org.tweetyproject.logics.commons.analysis.streams.InconsistencyMeasurementProcess<S>
- Type Parameters:
S
- The type of formulas.
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
ContensionInconsistencyMeasurementProcess
,HsInconsistencyMeasurementProcess
,WindowInconsistencyMeasurementProcess
The actual process of an inconsistency measure on streams.
- Author:
- Matthias Thimm
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Key for the configuration map that gives a time out (given in seconds) for a single update operation Default value is -1 which means no time out.Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorDescriptionCreates a new process for the given stream. -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, yield
-
Field Details
-
CONFIG_TIMEOUT
Key for the configuration map that gives a time out (given in seconds) for a single update operation Default value is -1 which means no time out.- See Also:
-
-
Constructor Details
-
InconsistencyMeasurementProcess
public InconsistencyMeasurementProcess()Creates a new process for the given stream.
-
-
Method Details
-
run
public void run() -
toString
-
abort
public void abort()Aborts the measurement of a stream. -
getInconsistencyValue
Returns the current inconsistency value of this stream processing or the last value if the stream processing has finalized.- Returns:
- the current inconsistency value.
-