public class RepairPlanMetrics extends Object
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.Ordering<com.complexible.stardog.api.update.UpdateOperation> |
operationComparator(List<RepairPlanMetric> theMetrics)
Deprecated.
Returns a comparator for actions based on the given list of metrics.
|
static Comparator<RepairPlan> |
planComparator(List<RepairPlanMetric> theMetrics)
Deprecated.
Returns a plan comparator based on the given list of metrics.
|
static RepairPlanMetric |
planLength(Iterable<Proof> theProofs)
Deprecated.
|
static com.complexible.stardog.repair.impl.BooleanPreferenceMetric |
preferAdds()
Deprecated.
|
static com.complexible.stardog.repair.impl.BooleanPreferenceMetric |
preferInstanceUpdates()
Deprecated.
|
public static com.complexible.stardog.repair.impl.BooleanPreferenceMetric preferInstanceUpdates()
public static com.complexible.stardog.repair.impl.BooleanPreferenceMetric preferAdds()
public static final RepairPlanMetric planLength(Iterable<Proof> theProofs)
public static Comparator<RepairPlan> planComparator(List<RepairPlanMetric> theMetrics)
cost
will be smaller. If the cost of both plans are equal for
the first metric, the second metric will be tried and so on. The copmarator will return 0 if the cost for both
plans are equal with respect to every metric in the list.public static com.google.common.collect.Ordering<com.complexible.stardog.api.update.UpdateOperation> operationComparator(List<RepairPlanMetric> theMetrics)
Copyright © 2010-2016 Stardog Union. All Rights Reserved.