Jump to content

Z notation

Featured Replies

Hi

The problem im having is

I have a school which is made up of Instructors & Pupils,

A Pupil can only be in one lesson at any given time.

Im not sure how do I express this in Z?

 

Do I inteduce variables say Max_Lesons_At_Given_Date_Time, and Lessons_At_GivenDate_Time_Per_Pupil.

And say something like:

Max_Lesons_At_Given_Date_Time = 1

#Lessons_At_GivenDate_Time_Per_Pupil ≤ Max_Lesons_At_Given_Date_Time

 

Or do I just use one and say:

# Lessons_At_GivenDate_Time_Per_Pupil ≤ 1

 

Any ideas thanks

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.