Record Class SolverInput<ModelInput_, ModelOutput_, ModelConfigurationOverrides_>
java.lang.Object
java.lang.Record
ai.timefold.solver.service.definition.api.SolverInput<ModelInput_, ModelOutput_, ModelConfigurationOverrides_>
public record SolverInput<ModelInput_, ModelOutput_, ModelConfigurationOverrides_>(ModelInput_ modelInput, Configuration<ModelConfigurationOverrides_> configuration, ModelOutput_ modelOutput)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSolverInput(ModelInput_ modelInput, Configuration<ModelConfigurationOverrides_> configuration, ModelOutput_ modelOutput) Creates an instance of aSolverInputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigurationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themodelInputrecord component.Returns the value of themodelOutputrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SolverInput
public SolverInput(ModelInput_ modelInput, Configuration<ModelConfigurationOverrides_> configuration, ModelOutput_ modelOutput) Creates an instance of aSolverInputrecord class.- Parameters:
modelInput- the value for themodelInputrecord componentconfiguration- the value for theconfigurationrecord componentmodelOutput- the value for themodelOutputrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
modelInput
Returns the value of themodelInputrecord component.- Returns:
- the value of the
modelInputrecord component
-
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-
modelOutput
Returns the value of themodelOutputrecord component.- Returns:
- the value of the
modelOutputrecord component
-