Class InconsistencyMeasureResult
- java.lang.Object
-
- org.tweetyproject.logics.commons.analysis.InconsistencyMeasureResult
-
public class InconsistencyMeasureResult extends java.lang.ObjectThis class represents the results the result of a call to an inconsistency measure with a knowledge base, i.e. the inconsistency value, if found, the computation time and the timeout status.- Author:
- Anna Gessler
- See Also:
InconsistencyMeasureEvaluator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInconsistencyMeasureResult.StatusStatus of an InconsistencyMeasureResult: OK means that an inconsistency value has been computed.
-
Method Summary
Modifier and Type Method Description longgetElapsedTime()InconsistencyMeasureResult.StatusgetStatus()doublegetValue()static InconsistencyMeasureResultok(double result)voidsetElapsedTime(long time)static InconsistencyMeasureResulttimeout()
-
-
-
Method Detail
-
timeout
public static InconsistencyMeasureResult timeout()
-
ok
public static InconsistencyMeasureResult ok(double result)
-
getStatus
public InconsistencyMeasureResult.Status getStatus()
-
getValue
public double getValue()
-
getElapsedTime
public long getElapsedTime()
-
setElapsedTime
public void setElapsedTime(long time)
-
-