Interface PlanningVariableMetaModel<Solution_,Entity_,Value_>

Type Parameters:
Solution_ - the solution type
Entity_ - the entity type
Value_ - the value type
All Superinterfaces:
GenuineVariableMetaModel<Solution_,Entity_,Value_>, VariableMetaModel<Solution_,Entity_,Value_>
All Known Implementing Classes:
DefaultPlanningVariableMetaModel

public non-sealed interface PlanningVariableMetaModel<Solution_,Entity_,Value_> extends GenuineVariableMetaModel<Solution_,Entity_,Value_>
A VariableMetaModel that represents a @basic planning variable.

This package and all of its contents are part of the Move Streams API, which is under development and is only offered as a preview feature. There are no guarantees for backward compatibility; any class, method or field may change or be removed without prior notice, although we will strive to avoid this as much as possible.

We encourage you to try the API and give us feedback on your experience with it, before we finalize the API. Please direct your feedback to Timefold Solver Github.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the planning variable allows null values.
    boolean
    Returns whether the planning variable is chained.

    Methods inherited from interface ai.timefold.solver.core.preview.api.domain.metamodel.GenuineVariableMetaModel

    isGenuine

    Methods inherited from interface ai.timefold.solver.core.preview.api.domain.metamodel.VariableMetaModel

    entity, isList, name, type
  • Method Details

    • allowsUnassigned

      boolean allowsUnassigned()
      Returns whether the planning variable allows null values.
      Returns:
      true if the planning variable allows null values, false otherwise.
    • isChained

      boolean isChained()
      Returns whether the planning variable is chained.
      Returns:
      true if the planning variable is chained, false otherwise.