Record Class InstanceProcessingStartedEvent
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.events.types.InstanceProcessingStartedEvent
- All Implemented Interfaces:
MorkEvent
-
Constructor Summary
ConstructorsConstructorDescriptionInstanceProcessingStartedEvent(String experimentName, String instanceName, Collection<? extends Algorithm<?, ?>> algorithms, int repetitions, Map<String, Double> refValues) Create a new InstanceProcessingStartedEventInstanceProcessingStartedEvent(String experimentName, String instanceName, List<String> algorithms, int repetitions, Map<String, Double> refValues) Creates an instance of aInstanceProcessingStartedEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexperimentNamerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinstanceNamerecord component.Returns the value of therefValuesrecord component.intReturns the value of therepetitionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InstanceProcessingStartedEvent
public InstanceProcessingStartedEvent(String experimentName, String instanceName, List<String> algorithms, int repetitions, Map<String, Double> refValues) Creates an instance of aInstanceProcessingStartedEventrecord class.- Parameters:
experimentName- the value for theexperimentNamerecord componentinstanceName- the value for theinstanceNamerecord componentalgorithms- the value for thealgorithmsrecord componentrepetitions- the value for therepetitionsrecord componentrefValues- the value for therefValuesrecord component
-
InstanceProcessingStartedEvent
public InstanceProcessingStartedEvent(String experimentName, String instanceName, Collection<? extends Algorithm<?, ?>> algorithms, int repetitions, Map<String, Double> refValues) Create a new InstanceProcessingStartedEvent- Parameters:
experimentName- experiment nameinstanceName- instance namealgorithms- list of algorithms to execute in the current experimentrepetitions- number of repetitions for each (instance, algorithm) pairrefValues- best values for the given instance, keyed by objective name
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
experimentName
Returns the value of theexperimentNamerecord component.- Returns:
- the value of the
experimentNamerecord component
-
instanceName
Returns the value of theinstanceNamerecord component.- Returns:
- the value of the
instanceNamerecord component
-
algorithms
-
repetitions
public int repetitions()Returns the value of therepetitionsrecord component.- Returns:
- the value of the
repetitionsrecord component
-
refValues
-