Class ReferenceResultProvider
java.lang.Object
es.urjc.etsii.grafo.experiment.reference.ReferenceResultProvider
- Direct Known Subclasses:
__RNAME__ReferenceResults
If implemented, used when comparing experiment results
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReferenceResult
Empty reference result to be used when the given provider does not have a value for an instance, and it is valid to have instances without reference values -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
How would you call the source of this data?abstract ReferenceResult
getValueFor
(String instanceName) Get reference f.o value for a given instancetoString()
-
Field Details
-
EMPTY_REFERENCE_RESULT
Empty reference result to be used when the given provider does not have a value for an instance, and it is valid to have instances without reference values
-
-
Constructor Details
-
ReferenceResultProvider
public ReferenceResultProvider()
-
-
Method Details
-
getValueFor
Get reference f.o value for a given instance- Parameters:
instanceName
- Instance name, as in Instance::getName- Returns:
- reference objective value for the given instance. If the instance is not solved by the given algorithm, return an empty ReferenceResult
-
getProviderName
How would you call the source of this data? A previous paper? An exact solver?. Examples: Gurobi, SOTA, PacoEtAl, etc.- Returns:
- Name for this Provider
-
toString
-