Class VariableDescriptorCache<Solution_>

java.lang.Object
ai.timefold.solver.core.impl.score.director.VariableDescriptorCache<Solution_>
Type Parameters:
Solution_ -

public final class VariableDescriptorCache<Solution_> extends Object
Each before/after event needs to look up a variable descriptor. These operations are not cheap, they are very frequent and they often end up looking up the same descriptor. These caches are used to avoid looking up the same descriptor multiple times.