public class ExtraHeuristicEntryDto extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtraHeuristicEntryDto.Objective
Should we try to minimize or maximize the heuristic?
|
static class |
ExtraHeuristicEntryDto.Type
The type of extra heuristic.
|
| Modifier and Type | Field and Description |
|---|---|
boolean |
extraHeuristicEvaluationFailure
Indicates whether the heuristic computation failed.
|
String |
id
An id representing this heuristics.
|
int |
numberOfEvaluatedRecords
The number of records that were considered for computing the heuristic score.
|
ExtraHeuristicEntryDto.Objective |
objective |
ExtraHeuristicEntryDto.Type |
type |
Double |
value
The actual value of the heuristic
|
| Constructor and Description |
|---|
ExtraHeuristicEntryDto() |
ExtraHeuristicEntryDto(ExtraHeuristicEntryDto.Type type,
ExtraHeuristicEntryDto.Objective objective,
String id,
Double value,
int numberOfEvaluatedRecords,
boolean heuristicEvaluationFailure) |
public ExtraHeuristicEntryDto.Type type
public ExtraHeuristicEntryDto.Objective objective
public String id
public Double value
public int numberOfEvaluatedRecords
public boolean extraHeuristicEvaluationFailure
true, it means that an error or issue occurred during
the evaluation of the heuristic score, and the value of the heuristic fails to
the greatest value. When false, the heuristic was computed successfully.
Example scenarios where this might be true include:
public ExtraHeuristicEntryDto()
public ExtraHeuristicEntryDto(ExtraHeuristicEntryDto.Type type, ExtraHeuristicEntryDto.Objective objective, String id, Double value, int numberOfEvaluatedRecords, boolean heuristicEvaluationFailure)
Copyright © 2016–2024. All rights reserved.