Art Walking: High Level Design (HLD) Document 1. Introduction In the Louvre in Paris, there is an art expedition showing for a limited time. The wing gallery in which it is being held, however, has a very limited amount of space. In this program, an organization is set up to host the most amount of people and the most amount of art in that crowded space while keeping the guests comfortable and happy. 2. Subject Matter Experts Agreement List Name Title/Role Mandatory Reviewer (Y/N) IRENE BETHENCOURT Developer Y Phil List Supervisor Y Amalan Lyengar Intern-apprentice wrangler Y Mentor Mentor Y Approved 3. Requirements Look at the story in the introduction and answer the following questions: ○ What are the characters in the story (the nouns)? These are the agents in the model. -Curator -Gallery -Art -People/Guests ○ Do any of the characters have adjectives describing them? These are the depictions of the agent. Which agents have multiple depictions and what are they? -Curator: 1x1 square -Gallery: Has a right entrance and a left exit. 20x40 square -Art: Three pieces at the start. Each 1x1 square. Multiple depictions… Beginning art Newly Added Art -Guests: 1x1 square. Multiple depictions… Neutral Happy Unhappy Each time step=30 seconds ○ What activities does each character do? These are behaviors of the agent. -Curator: Counts the number of unhappy and happy people. Adds new pieces of artwork to gallery. -Guests: Will walk around the gallery viewing artwork. Will leave satisfied or frustrated. Each guest enters with a given number (crowd tolerance) and a color (category of art they are drawn to). -Art: Gallery begins with just three art pieces. More are added progressively. Each piece is framed with a color. ○ When do the activities take place? Does anything have to be true for the activity to take place? -The happiness/comfort of the guests depends on the amount of people inside the gallery at the same time as them. -No more artwork will be added to the gallery if the guests’ unhappiness reaches eighty percent. -It must be true that the guest has viewed fifty percent or more of the artwork in order to happily exit the gallery. -The guests’ length of stay is affected by their crowd tolerance exceeding. ○ How do the characters do each activity? Describe the behaviors in detail, step by step. -Curator: The Curator will count how many people leave happy and unhappy. He will add a new piece of artwork to the gallery every twenty-five time steps and will continue doing so until the model runs for two-hundred and fifty time steps. -Gallery: The gallery begins with three pieces of artwork being displayed. Every twenty-four hours, a new piece will be placed within it. -Art: The art begins inside the gallery and is progressively added. Each piece of artwork is framed with different colors. Each color will draw certain guests to certain art pieces. -Guests: A random number of guests between zero and four enter the gallery on the right side every time step. They can walk left, right, up, and down but not diagonally and can only move one square at a time. When they enter, they receive a number and a color. They walk around the gallery only drawn to the art pieces framed with the color they received. To view an art piece, the guests pause next to it for a random number of time steps between one and five. Once the guest is satisfied with viewing only the artwork framed with the color they are drawn to, they happily exit the gallery on the left side. In addition to this, the guests have a “crowd tolerance” which will be a random number between five and twenty-five given to them at the entrance as well. If the number of people inside the gallery exceed the tolerance number of a guest, the guest will exit the gallery unhappy. If there are too many unhappy guests, the gallery will close down before finishing all its time steps. OPTIONAL: Coffee as a crowd tolerance/happiness increaser The curator walks around the outside walls of the gallery with a tray of ten coffee mugs. He continuously offers coffee to the guests who randomly pass by and every time he passes by the entrance of the gallery, his coffee storage restocks back to ten. The guests’ happiness percentage can be increased with a cup of coffee. Coffee increases their crowd tolerance by seven percent. Based on your answers to these questions, create an outline that describes the agents in the story. For instance: a. A [Javascript/Agentsheets] model showing the interactions of agents which exhibit the following behaviors: i. Curator 1. Counts the number of guests who leave happily or unhappily. 2. After twenty-five time steps, places a new art piece in the gallery. ii. Guests 1. Walks in from the right. Can walk in any direction except diagonal and only one square at a time. 2. Receives color and crowd tolerance. 3. Is drawn only to artwork framed in designated color. 4. Leaves unhappily if crowd tolerance is exceeded. 5. Leaves happily if sees all of artwork framed in designated color. iii. Art 1. Each artwork is framed with a color that never changes. 2. Color draws guests near them. 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. Curator a. Counts the number of happy and unhappy people. b. Brings in new piece of artwork. c. Counts the number of happy and unhappy people. Guests a. Enters through the right. b. Receives color and number. c. Walks towards artwork framed in designated color. d. If number of people in the room exceeds crowd tolerance, leaves through the left unhappily. e. If sees all color framed artwork, leave through the left happily. 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 in this activity is to learn how to manage a limitless amount of people in a limited amount of space. This activity includes real sentiments of the people and their comfort. Their happiness can increase or decrease and they have certain likes and dislikes. Some people prefer less people in the room and others don’t mind. This activity sheds light on all of those preferences to create an environment that is comfortable and happy for everyone while learning how to organize the small space within it.