Package ai.timefold.solver.core.impl.bavet.common.index
package ai.timefold.solver.core.impl.bavet.common.index
This package contains code that deals with indexing of tuples.
The entry point is
IndexerFactory,
which also contains a description of the entire mechanism.-
ClassDescriptionIndexer<T>An indexer for entity or fact
X, maps a property or a combination of properties ofX, denoted byindexKeys, to all instances ofXthat match those properties, depending on the the indexer type (equal, lower than, ...).IndexerFactory<Right_>Indexersform a parent-child hierarchy, each child has exactly one parent.IndexerFactory.KeysExtractor<Tuple_ extends AbstractTuple>Represents a function which extracts index keys from a tuple.IndexerFactory.QuadKeysExtractor<A,B, C, D> Cached in tuples; each tuple carries its unique instance.NoneIndexer<T>