Method: Gecode::Set::SetOperand#elements

Defined in:
lib/gecoder/interface/constraints/set_elements_constraints.rb

#elementsObject

Produces a SetElementsOperand on which relation constraints can be placed that constrain all elements in the set.

Examples

# The elements of +set+.
set.elements


91
92
93
# File 'lib/gecoder/interface/constraints/set_elements_constraints.rb', line 91

def elements
  Gecode::SetElements::SetElementsOperand.new(self)
end