| constraints-class {TestDesign} | R Documentation |
Class 'constraints': a set of constraints
Description
constraints is an S4 class for representing a set of constraints and its associated objects.
Details
See constraints-operators for object manipulation functions.
Slots
constraintsa
data.framecontaining the constraint specifications.list_constraintsa list containing the
constraintobject representation of each constraint.poolthe
item_poolobject associated with the constraints.item_attribthe
item_attribobject associated with the constraints.st_attribthe
st_attribobject associated with the constraints.test_lengththe test length specified in the constraints.
nvthe number of decision variables. Equals
ni + ns.nithe number of items to search from.
nsthe number of stimulus to search from.
idthe item/stimulus ID string of each item/stimulus.
index,mat,dir,rhsthese represent MIP-format constraints. A single MIP-format constraint is associated with a value in
index, a row inmat, a value inrhs, and a value indir.the i-th value of
indexrepresents which constraint specification in theconstraintsargument it was translated from.the i-th row of
matrepresents LHS coefficients to use on decision variables in the i-th MIP-format constraint.the i-th value of
rhsrepresents RHS values to use in the i-th MIP-format constraint.the i-th value of
dirrepresents the imposed constraint between LHS and RHS.
set_basedTRUEif the constraint is set-based.FALSEotherwise.item_orderthe item attribute of each item to use in imposing an item order constraint, if any.
item_order_bythe name of the item attribute to use in imposing an item order constraint, if any.
stim_orderthe stimulus attribute of each stimulus to use in imposing a stimulus order constraint, if any.
stim_order_bythe name of the stimulus attribute to use in imposing a stimulus order constraint, if any.
item_index_by_stimulusa list containing item indices of each stimulus.
stimulus_index_by_itemthe stimulus indices of each item.