Class AbstractConstraintStreamScoreDirectorFactory<Solution_,Score_ extends Score<Score_>,Factory_ extends AbstractConstraintStreamScoreDirectorFactory<Solution_,Score_,Factory_>>

java.lang.Object
ai.timefold.solver.core.impl.score.director.AbstractScoreDirectorFactory<Solution_,Score_,Factory_>
ai.timefold.solver.core.impl.score.stream.common.AbstractConstraintStreamScoreDirectorFactory<Solution_,Score_,Factory_>
Type Parameters:
Solution_ - the solution type, the class with the PlanningSolution annotation
Score_ - the score type to go with the solution
All Implemented Interfaces:
ScoreDirectorFactory<Solution_,Score_>
Direct Known Subclasses:
BavetConstraintStreamScoreDirectorFactory

public abstract class AbstractConstraintStreamScoreDirectorFactory<Solution_,Score_ extends Score<Score_>,Factory_ extends AbstractConstraintStreamScoreDirectorFactory<Solution_,Score_,Factory_>> extends AbstractScoreDirectorFactory<Solution_,Score_,Factory_>
FP streams implementation of ScoreDirectorFactory.
See Also:
  • Constructor Details

    • AbstractConstraintStreamScoreDirectorFactory

      protected AbstractConstraintStreamScoreDirectorFactory(SolutionDescriptor<Solution_> solutionDescriptor)
  • Method Details

    • fireAndForget

      public abstract AbstractScoreInliner<Score_> fireAndForget(Object... facts)
      Creates a new score director, inserts facts and calculates score.
      Parameters:
      facts - never null
      Returns:
      never null
    • getConstraintMetaModel

      public abstract ConstraintMetaModel getConstraintMetaModel()
    • supportsConstraintMatching

      public boolean supportsConstraintMatching()