org.optaplanner.core.impl.domain.variable.inverserelation
Interface SingletonInverseVariableSupply
- All Known Implementing Classes:
- SingletonInverseVariableListener
public interface SingletonInverseVariableSupply
Currently only supported for chained variables,
which guarantee that no 2 entities use the same planningValue.
getInverseSingleton
Object getInverseSingleton(Object planningValue)
- If entity1.varA = x then the inverse of x is entity1.
- Parameters:
planningValue
- never null
- Returns:
- sometimes null, an entity for which the planning variable is the planningValue.
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.