ai.libs.jaicore.planning.core.events.PlanFoundEvent Maven / Gradle / Ivy
package ai.libs.jaicore.planning.core.events;
import ai.libs.jaicore.basic.algorithm.events.ASolutionCandidateFoundEvent;
import ai.libs.jaicore.basic.algorithm.events.ScoredSolutionCandidateFoundEvent;
import ai.libs.jaicore.planning.core.Action;
import ai.libs.jaicore.planning.core.EvaluatedPlan;
public class PlanFoundEvent> extends ASolutionCandidateFoundEvent> implements ScoredSolutionCandidateFoundEvent, V> {
public PlanFoundEvent(String algorithmId, EvaluatedPlan solutionCandidate) {
super(algorithmId, solutionCandidate);
}
@Override
public V getScore() {
return getSolutionCandidate().getScore();
}
}