ai.libs.jaicore.planning.core.EvaluatedSearchGraphBasedPlan Maven / Gradle / Ivy
package ai.libs.jaicore.planning.core;
import java.util.List;
import ai.libs.jaicore.search.model.other.EvaluatedSearchGraphPath;
import ai.libs.jaicore.search.model.other.SearchGraphPath;
public class EvaluatedSearchGraphBasedPlan, N> extends EvaluatedPlan {
private final SearchGraphPath searchGraphPath;
public EvaluatedSearchGraphBasedPlan(final Plan plan, final EvaluatedSearchGraphPath searchGraphPath) {
this(plan, searchGraphPath.getScore(), searchGraphPath);
}
public EvaluatedSearchGraphBasedPlan(final Plan plan, final V score, final SearchGraphPath searchGraphPath) {
super(plan, score);
this.searchGraphPath = searchGraphPath;
}
public EvaluatedSearchGraphBasedPlan(final EvaluatedPlan plan, final SearchGraphPath searchGraphPath) {
super(plan, plan.getScore());
this.searchGraphPath = searchGraphPath;
}
public EvaluatedSearchGraphBasedPlan(final List plan, final V score, final SearchGraphPath searchGraphPath) {
super(plan, score);
this.searchGraphPath = searchGraphPath;
}
public SearchGraphPath getPath() {
return this.searchGraphPath;
}
}