Class Experiment
java.lang.Object
org.apache.wayang.commons.util.profiledb.model.Experiment
An experiment comprises
Measurement
s from one specific Subject
execution.-
Constructor Summary
ConstructorsConstructorDescriptionExperiment
(String id, Subject subject, long startTime, String... tags) Create a new instance.Experiment
(String id, Subject subject, String... tags) Create a new instance that is starting right now. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMeasurement
(Measurement measurement) boolean
getId()
long
getTags()
int
hashCode()
void
setDescription
(String description) void
void
setStartTime
(long startTime) void
setSubject
(Subject subject) void
setTags
(Collection<String> tags) toString()
withDescription
(String description) Adds a description for this instance.
-
Constructor Details
-
Experiment
Create a new instance that is starting right now.- Parameters:
id
- Identifier for the new instancesubject
- theSubject
tags
- tags to group several experiments
-
Experiment
Create a new instance.- Parameters:
id
- Identifier for the new instancesubject
- theSubject
of this experimentstartTime
- start timestamp of this experimenttags
- tags to group several experiments
-
-
Method Details
-
withDescription
Adds a description for this instance.- Parameters:
description
- the description- Returns:
- this instance
-
getId
-
setId
-
getDescription
-
setDescription
-
getStartTime
public long getStartTime() -
setStartTime
public void setStartTime(long startTime) -
getTags
-
setTags
-
addMeasurement
-
getMeasurements
-
getSubject
-
setSubject
-
equals
-
hashCode
public int hashCode() -
toString
-