Learn R Programming

PFIM (version 5.0)

DiscreteConstraint-class: Class "DiscreteConstraint" representing the constraints for a variable

Description

The class DiscreteConstraint stores constraints for a variable. Constraints are given either as a continuous range (any value between a min and a max boundary is admissible) or a discrete set of values (any value belonging to the set is admissible)

Arguments

Objects from the class <code>DiscreteConstraint</code>

Objects form the class DiscreteConstraint can be created by calls of the form DiscreteConstraint(...) where (...) are the parameters for the DiscreteConstraint Model.

Slots for the <code>DiscreteConstraint</code> objects

type:

A character string, one of 'continuous' or 'discrete'.

range:

A numeric vector with two values giving the min/max of the continuous range.

discrete:

A numeric vector giving the set of possible values.