Art Walking Anew HLD

advertisement
Art Walking, Anew High Level Design (HLD) Document
1. Introduction
Welcome to Paris! The Louvre as just opened a new 24-hour gallery wing. There is
brand-new exciting art to see! But we don’t know how to best position the art in
order to have the least amount of foot traffic, while maximizing the amount of art you
can see. Use AgentSheets to model art and people.
2. Subject Matter Experts Agreement List
Name
Title/Role
Mandatory
Reviewer (Y/N)
Anja Sheppard
Developer
Y
Phil List
Supervisor
Y
Amalan Iyengar
Intern-apprentice
wrangler
Y
Aaron Weeden
Mentor
Y
Approved
3. Requirements
Look at the story in the introduction and answer the following questions:
○ The characters will be:
■ Average museum-goers/Guests: These are the normal people walking
around the gallery.
■ Curator/Counter: This man counts the number of people in the gallery
at a time.
■ Artwork: This is the actual artwork in the room. There are 3 pieces of
art in the beginning, and the curator adds a piece of art every 24
hours.
○ The average museum-goers can become happy or unhappy. If they have seen
over 50% of the art, they will leave the museum content. But, each guest will
have a “crowd tolerance” level (random number 5-25). They will also count
when they can’t move because someone is in their way (guest count number).
If the crowd tolerance level equals the guest count number, then the
museum-goer will leave out of frustration.
○ Behaviors of agents:
■ Guests will move around randomly, keep track of the number of art
pieces they have seen, change between normal, happy, and mad, and
enter/leave the art gallery.
■ Curator/Counter will count the unhappy and happy people in his
gallery, and he will add new art every 24 hours.
○ One time step is 5 seconds. The Curator will continue adding art until the
amount of unhappy guests is 80%, or the model has run for 30 days.
○ How do the characters do the activities?
■ Guests: The guests move around randomly. They stay in front of the
art for a small amount of time. They become happy after seeing art,
and they become unhappy when there are too many people.
■ Curator: The Curator will stay stationary in his office. He adds new art,
and he counts all of the people.
■ Art: Art doesn’t do anything but stay stationary.
○
Variables
■ We want to maximize the amount of art that the guests can see, but minimize the
amount of unhappy people. In order to do this, we have to change around some
variables:
● Location of the art
● Shape of the gallery
● Number of people in the museum at one point
● When art is added
Based on your answers to these questions, create an outline that describes the
agents in the story. For instance:
a. An Agentsheets model showing the interactions of agents which exhibit the
following behaviors:
i. Guest Agent (normal depiction)
1. Stands in front of art. Randomly waits for 1-5 time steps.
2. If sees over 50% of art, changes to happy depiction.
3. If the crowd tolerance level (random number 5-25) is equal to
the number of people in the guest’s way as he moves around
(guest count number), the guest’s depiction changes to mad.
ii. Guest Agent (happy depiction)
1. Once the guest has seen over 50% of the art, they change to
happy and they leave the gallery.
iii. Guest Agent (unhappy depiction)
1. If the crowd tolerance level equals the guest count number, the
guest becomes unhappy and leaves.
iv. Curator Agent
1. Counts the total number of people in the room.
2. Counts the number of normal, happy, and unhappy people.
3. Adds a new piece of art every 24 hours.
4. Timeline
This is due within five days of receipt of the task (that would be Friday, June 20 for
those receiving this Monday, June 16). It is better to complete this sooner, so that
you can begin implementing an HLD that one of your classmates has written.
5. Desired Behavior / Components
How would you model agent 1 doing behavior 1? Give a step by step explanation of
how each agent does each behavior. Think about how you will demonstrate the
behavior in the AgentSheets model.
Moving randomly and standing by art
a. 0-4 guests enter every time step.
b. As each guest enters, they are given a crowd tolerance level (random
number 5-25).
c. They randomly move in four directions: up, down, left, and right.
d. Once they are standing next to a piece of art, they stand there for 1-5
time steps (randomly chosen).
e. After the designated amount of time steps, the guest keeps moving
randomly.
Becoming happy
a. As shown above, guests walk around randomly and see art.
b. Once a guest has seen over 50% of the art in the room, their depiction
changes to happy and they leave.
Becoming unhappy
a. Guests are assigned a crowd tolerance level when they enter the
gallery.
b. Guests move around randomly, and whenever they can’t move because
someone is in their way, the guest increments the guest count number.
c. When the guest count number equals the crowd tolerance level, the
guest’s depiction turns unhappy and they leave.
Replace the words in bold with your own words. Add more steps if you need them.
Do this for each behavior of each agent.
6. Conclusion
The goal is this activity is to …
 Refresh our AgentSheets skills
 Understand another person’s HLD document
 Write an HLD document
Now that the museum curator has you to help him build a model, he will have the nicest
gallery in the Louvre. Brush up on you AgentSheets to help him make a model of a museum
gallery with people, art, and a curator. This model should help the curator maximize the
amount of happy people and the amount of art displayed without making too many people
upset.
Download