Class InstanceProcessingStartedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
es.urjc.etsii.grafo.events.types.MorkEvent
es.urjc.etsii.grafo.events.types.InstanceProcessingStartedEvent
- All Implemented Interfaces:
Serializable
Triggered when starting an experiment before any other action occurs
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet list of algorithms to execute in the current experimentGet current experiment nameGet current instance nameGet reference value for instance if availableintGet number of repetitions for each (instance, algorithm) pair.Methods inherited from class MorkEvent
equals, getEventId, getType, getWorkerName, hashCodeMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class EventObject
getSource, toString
-
Constructor Details
-
InstanceProcessingStartedEvent
public InstanceProcessingStartedEvent(String experimentName, String instanceName, List<? 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 value for the given instance if known.
-
-
Method Details
-
getExperimentName
-
getInstanceName
-
getRefValues
-
getAlgorithms
-
getRepetitions
public int getRepetitions()Get number of repetitions for each (instance, algorithm) pair.- Returns:
- number of repetitions for each (instance, algorithm) pair.
-