Objects by Design Forums Here you can view your subscribed threads, work with private messages and edit your profile and preferences Registration is free! Calendar Find other members Frequently Asked Questions Search Home  
Objects by Design Forums : Powered by vBulletin version 2.3.5 Objects by Design Forums > Main Forums > UML Certification > can someone plz expain me this notation??
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
missmallikashah
Junior Member

Registered: May 2006
Location:
Posts: 13

can someone plz expain me this notation??

there are two instances Simulator and Random..and there is a link betwn them.and the iteration is defined in this way--
1* [i:=1..N]:num:=nextInt()

can someone plz explain me each part??
this is taken from Larman's book,page 206.

regards,
mallika

Report this post to a moderator | IP: Logged

Old Post 05-21-2006 06:54 PM
missmallikashah is offline Click Here to See the Profile for missmallikashah Click here to Send missmallikashah a Private Message Find more posts by missmallikashah Add missmallikashah to your buddy list Edit/Delete Message Reply w/Quote
amjoesph
Junior Member

Registered: Feb 2006
Location:
Posts: 7

1* - iteration
[] - condition

so, it calls the method more than once and this call is controlled by the condition specified in []

Report this post to a moderator | IP: Logged

Old Post 07-26-2006 07:38 PM
amjoesph is offline Click Here to See the Profile for amjoesph Click here to Send amjoesph a Private Message Find more posts by amjoesph Add amjoesph to your buddy list Edit/Delete Message Reply w/Quote
sunny007
Junior Member

Registered: Dec 2005
Location:
Posts: 13

This is what I have understood:

Call Random.nextInt() method and assign it to num. Repeat this for each 'i', where i= 1 to N

__________________
Thanks,
Sunny

Report this post to a moderator | IP: Logged

Old Post 08-24-2006 06:56 PM
sunny007 is offline Click Here to See the Profile for sunny007 Click here to Send sunny007 a Private Message Find more posts by sunny007 Add sunny007 to your buddy list Edit/Delete Message Reply w/Quote
amjoesph
Junior Member

Registered: Feb 2006
Location:
Posts: 7

u r perfect...

and 1 it means the call sequence and * specifes multiplicity along with the guard condition

Report this post to a moderator | IP: Logged

Old Post 08-24-2006 07:23 PM
amjoesph is offline Click Here to See the Profile for amjoesph Click here to Send amjoesph a Private Message Find more posts by amjoesph Add amjoesph to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 11:07 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

< Contact Us - Objects by Design >

Powered by: vBulletin Version 2.3.5
Copyright ©2000 - 2018, Jelsoft Enterprises Limited.
Copyright 1999-2005, Objects by Design, Inc.