12.07.2015 Views

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Keys in tuple declarationAs in database systems, tuple structures can be associated with keys. Tuple keys enable youto access data organized in tuples using a set of unique identifiers. In Declaring a tuple usinga single key (nurses.mod), the nurse tuple is declared with the key name of type string.Declaring a tuple using a single key (nurses.mod)tuple nurse {key string name;int seniority;int qualification;int payRate;}Then, supposing Isabelle must not work more than 20 hours a week, just write:NurseWorkTime[]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!