makeConstraintsByEachPartition function

make constraints objects from Split() solution indices

make constraints objects from Split() solution indices

makeConstraintsByEachPartition is a helper function for making constraints objects from Split solution indices.

makeConstraintsByEachPartition(constraints, solution_per_bin)

Arguments

  • constraints: a constraints object representing test specifications. Use loadConstraints for this.
  • solution_per_bin: a list containing item/stimulus indices for each partition. This accepts a list stored in the output slot of an output_Split object.

Returns

makeConstraintsByEachPartition returns a list of constraints objects.

  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2024-08-22