public class MergeGreedyToIncreaseObjectFeature extends MergeWithOptionalDistanceConstraint
No guarantee exists over the priority over which merges occur, so any inferior merge could occur before a superior one, as long as both merges fulfill the conditions.
A merge occurs if the feature is increased in the merge object compared to both pre-merged
objects i.e. feature(merged) > feature(object1)
and feature(merged) >
feature(object2)
.
MergeBase.MergeObjects
Constructor and Description |
---|
MergeGreedyToIncreaseObjectFeature() |
Modifier and Type | Method and Description |
---|---|
ObjectCollection |
createFromObjects(ObjectCollection objectsSource)
Creates a
ObjectCollection given the entity provided by the delegate. |
FeatureEvaluator<FeatureInputSingleObject> |
getFeatureEvaluator() |
boolean |
isReplaceWithMidpoint() |
void |
setFeatureEvaluator(FeatureEvaluator<FeatureInputSingleObject> featureEvaluator) |
void |
setReplaceWithMidpoint(boolean replaceWithMidpoint) |
getMaxDistance, isSuppressZ, maybeDistanceCondition, setMaxDistance, setSuppressZ
getDimensions, mergeMultiplex, resolutionRequired, setDimensions, unitConvertOptional
containerOptional, containerRequired, getObjectsContainer, setObjectsContainer
get, getObjects, setObjects
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ObjectCollection createFromObjects(ObjectCollection objectsSource) throws ProvisionFailedException
ObjectCollectionProviderUnary
ObjectCollection
given the entity provided by the delegate.createFromObjects
in class ObjectCollectionProviderUnary
objectsSource
- the entity provided by the delegate.ObjectCollection
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.public boolean isReplaceWithMidpoint()
public void setReplaceWithMidpoint(boolean replaceWithMidpoint)
public FeatureEvaluator<FeatureInputSingleObject> getFeatureEvaluator()
public void setFeatureEvaluator(FeatureEvaluator<FeatureInputSingleObject> featureEvaluator)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.