public final class CarineEvaluator extends java.lang.Object implements Evaluator<IntegerVectorSolution>
CarineEvaluator is used for running a step of calculation with carine application. Carine homepage: http://www.atpcarine.com/
Modifier and Type | Class and Description |
---|---|
static interface |
io.vavr.Lambda.Memoized |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
carinePath |
private java.lang.String |
geoPath |
private static org.slf4j.Logger |
logger |
private static int |
MAX_EVALUATION_TIME |
private static int |
MAX_EXECUTION_TIME |
Constructor and Description |
---|
CarineEvaluator() |
CarineEvaluator(java.lang.String carinePath,
java.lang.String geoPath) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String[] |
createCommandString(io.vavr.collection.Seq<java.lang.Integer> representation) |
double |
evaluate(IntegerVectorSolution solution) |
private boolean |
executeCommandString(java.lang.String[] commandString) |
default boolean |
isMemoized() |
private static final int MAX_EVALUATION_TIME
private static final int MAX_EXECUTION_TIME
private static final org.slf4j.Logger logger
private final java.lang.String carinePath
private final java.lang.String geoPath
public CarineEvaluator(java.lang.String carinePath, java.lang.String geoPath)
public CarineEvaluator()
public double evaluate(IntegerVectorSolution solution)
evaluate
in interface Evaluator<IntegerVectorSolution>
private java.lang.String[] createCommandString(io.vavr.collection.Seq<java.lang.Integer> representation)
private boolean executeCommandString(java.lang.String[] commandString)
public boolean isMemoized()