public class DeduplicationResult extends java.lang.Object implements java.lang.Comparable<DeduplicationResult>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NA |
static java.lang.String |
SEPARATOR |
| Constructor and Description |
|---|
DeduplicationResult(Method method,
ComplexityResult result,
DeDuplicatedLog log) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DeduplicationResult other) |
ComplexityResult |
getComplexityResult() |
org.joda.time.Duration |
getDuration() |
static java.lang.String |
getHeader() |
DeDuplicatedLog |
getLog() |
long |
getMemoryUsed() |
double |
getScore()
The score is averaged between precision and recall and then penalized by the complexity growth with respect
to the original log
|
void |
setDuration(org.joda.time.Duration duration) |
void |
setFileName(java.lang.String fileName) |
void |
setLog(DeDuplicatedLog log) |
void |
setMemoryUsed(long memoryUsed) |
java.lang.String |
toString() |
public static final java.lang.String SEPARATOR
public static final java.lang.String NA
public DeduplicationResult(Method method, ComplexityResult result, DeDuplicatedLog log)
public DeDuplicatedLog getLog()
public void setLog(DeDuplicatedLog log)
public double getScore()
public int compareTo(DeduplicationResult other)
compareTo in interface java.lang.Comparable<DeduplicationResult>public static java.lang.String getHeader()
public java.lang.String toString()
toString in class java.lang.Objectpublic org.joda.time.Duration getDuration()
public ComplexityResult getComplexityResult()
public void setDuration(org.joda.time.Duration duration)
public long getMemoryUsed()
public void setMemoryUsed(long memoryUsed)
public void setFileName(java.lang.String fileName)