java.lang.Object
dev.civl.gmc.LogEntry
dev.civl.mc.log.IF.CIVLLogEntry
- All Implemented Interfaces:
Comparable<dev.civl.gmc.LogEntry>
public class CIVLLogEntry
extends dev.civl.gmc.LogEntry
This represents an entry in the error log of CIVL. LogEntry's are stored in a
collection that is ordered by the compareTo method and where the equals
method determines redundancy in terms of error reports.
Currently these two methods consult the CIVLConfiguration to determine what
equivalence should be applied to error states. States that do not share the
same problem kind are always inequivalent. There are three alternative
criteria that are applied: LOC : require error locations in each proc to be
the same for equivalence CALLSTACK : require call stacks in each proc to be
the same for equivalence FULL : require the full trace, as expressed by the
path condition, to be the same for equivalence
Additional equivalences are easy to implement by accessing components of the
state.
-
Constructor Summary
ConstructorsConstructorDescriptionCIVLLogEntry(CIVLConfiguration civlConfig, dev.civl.gmc.GMCConfiguration gmcConfig, CIVLExecutionException problem, dev.civl.sarl.IF.SymbolicUniverse universe) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(dev.civl.gmc.LogEntry that) booleanvoidprintBody(PrintStream out) problem()Methods inherited from class dev.civl.gmc.LogEntry
getConfiguration, getId, getLength, getTraceFile, print
-
Constructor Details
-
CIVLLogEntry
public CIVLLogEntry(CIVLConfiguration civlConfig, dev.civl.gmc.GMCConfiguration gmcConfig, CIVLExecutionException problem, dev.civl.sarl.IF.SymbolicUniverse universe)
-
-
Method Details
-
problem
-
printBody
- Specified by:
printBodyin classdev.civl.gmc.LogEntry
-
compareTo
public int compareTo(dev.civl.gmc.LogEntry that) - Specified by:
compareToin interfaceComparable<dev.civl.gmc.LogEntry>- Specified by:
compareToin classdev.civl.gmc.LogEntry
-
equals
- Specified by:
equalsin classdev.civl.gmc.LogEntry
-