ai.libs.mlplan.safeguard.EvaluationSafeGuardFiredEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mlplan-core Show documentation
Show all versions of mlplan-core Show documentation
This project provides an implementation of the AutoML tool ML-Plan.
The newest version!
package ai.libs.mlplan.safeguard;
import org.api4.java.common.event.IEvent;
import ai.libs.jaicore.components.api.IComponentInstance;
public class EvaluationSafeGuardFiredEvent implements IEvent {
private final IComponentInstance ci;
private final long timestamp;
public EvaluationSafeGuardFiredEvent(final IComponentInstance ci) {
this.timestamp = System.currentTimeMillis();
this.ci = ci;
}
public IComponentInstance getComponentInstance() {
return this.ci;
}
@Override
public long getTimestamp() {
return this.timestamp;
}
}