Net logo

주어진 NetLogo 파일(Butterfly_Homework.netlogo)을 사용하여 아래 작업을 차례대로 행하고 질문에 답하시오. 주어진대로 모두 실행하고, 밑줄 친 문장에 대해 답하면 된다. 제출과제는 그림이 포함된 워드 프로세서 파일 하나와 NetLogo 프로그램 파일 하나, 총 2개이다.
Use the given NetLogo file (Butterfly_Homework.netlogo) to take turns doing the following and answer the questions. Do everything as you are given, and answer the underlined sentence. The submission task is two, one word processor file and one NetLogo program file.

 

1. 사이버캠퍼스 공지사항에 제공된 데이터 파일 ElevationData.txt 파일을 다운로드 하여 자신의 컴퓨터에서 NetLogo 실행파일과 동일한 디렉토리에 놓는다. NetLogo 프로그램을 시작한 후 메뉴 File Open 을 이용하여 NetLogo 파일을 연다. 또한 데이터 텍스트 파일은 우리가 직접 열지 않는다.
그런 후 Code tab 으로 가서 코드를 수정한다. ask patches 다음 부분을 수정하여, 패치로 구성된 배경 색을 green 이 아닌 다른 색으로 바꾸시오. NetLogo User Manual 중 Programming Guide 에서 Colors 부분을 참고한다.
1. Download the data file ElevationData.txt file provided in the cybercampus announcement and place it on your computer in the same directory as the NetLogo executable file. After launching the NetLogo program, open the NetLogo file using the menu File Open Open. Also, we do not open the data text file ourselves.
Then go to Codetab and modify the code. ask patches Modify the following parts to replace the patch background color with a color other than green. Refer to the Colors section of the Programming Guide of NetLogo User Manual.

2. crt 500 다음에 있는 부분을 수정하여 turtle 의 크기를 현재의 2에서 3으로 바꾼다.
2. Modify the part after the crt 500 to change the size of the turtle from the current 2 to 3.

 

3. 움직이는 에이전트인 turtle 의 형태를 현재의 arrow 혹은 default 가 아닌 다른 형태로 바꾼다. set size 3 아래에 명령어 set shape “…” 을 추가하는데 형태의 이름을 둘러싸는 따옴표는 있어야 한다.
… 자리에 오는 것으로 사용할 수 있는 예는 NetLogo User Manual 화면의 왼쪽 메뉴 중 Features Shapes Editor 에 있다. Default shapes 의 그림 아래 설명에 보면 각 형태의 이름이 default, airplane, arrow, box… 등과 같이 나오는데 그 중 한 이름을 선택하여 앞의 … 을 대체한다.

문제 1, 2 와 위의 수정내용이 반영된 코드를, Interface tab setup go 의 순서대로 작동하여 실행하고 결과 화면을 그림 파일로 저장하시오. 메뉴 중 File Export Export Interface 를 이용한다. 이 단계에서의 그림 파일을 워드 프로세서 파일에 넣고 다른 문제들에 대해서도 답한 후 파일을 제출하면 된다.
3. Change the form of the moving agent turtle to a form other than the current arrow or default. Under set size 3, the command set shape “…” must have quotation marks surrounding the name of the form.
An example that can be used to get to … is in the Features ap Shapes Editor, one of the left menus on the NetLogo User Manual screen. In the description under the picture in Default shapes, each type of name is default, airplane, arrow, box… It comes out like a lamp, and choose one of the names in front of it. Replaces.

Run the code reflecting the above modifications in the order of Interface tab s setup g go and save the result screen as a picture file. It uses the File Ex Export Ex Export Interface. At this stage, you can put the picture file in a word processor file, answer other questions, and submit the file.

4. Interface 에서 초록색으로 된 슬라이더에서 확률 q 를 0.4 로 설정하고 프로그램을 실행하시오. 그런 후 코드 중 pen-down 앞에 세미콜론 ; 을 추가하여 이 명령어가 작동되지 않도록 comment out 한 후 실행하시오. 두 경우를 비교하면 결과가 어떻게 다른가, 혹은 두 방법의 상대적인 장단점을 기술하시오.
4. On the slider in green on the interface, set the probability q to 0.4, and run the program. Then comment out and execute this command to prevent it from working by adding a semicolon; before pen-down of the code. Describe how the results differ by comparing the two cases, or the relative advantages and disadvantages of the two methods.

 

5. pen-down 앞에 넣은 세미콜론을 제거하시오. 세미콜론을 제거하면 다음에 오는 명령어는 한 칸 전진하여 원래 있던 위치로 오게 한다. 슬라이더 버튼의 확률 q 값을 작은 값(0.1 ~ 0.2), 중간 값(0.4 ~ 0.5), 큰 값(0.8 ~ 0.9)으로 설정하여 각각 실행한 후 나타나는 결과를 비교 기술하고, 왜 이런 차이가 나타나리라 생각하는지 기술하시오.
5. Remove the semicolon in front of the pen-down. When the semicolon is removed, the next instruction moves forward one space to its original location. Set the probability q value of the slider button to small (0.1 to 0.2), medium (0.4 to 0.5), and large (0.8 to 0.9), respectively, and state why you think this difference will occur.

 

6. Interface 에서 q 를 0.3 ~ 0.4 정도의 값으로 설정하고 ticks 의 속도를 늦춘 후 실행하시오. plot 을 보면 tick 이 커짐에 따라 Corridor width 값이 증가하다가 감소하는 것을 볼 수 있다. 증가와 감소의 원인은 무엇이겠는지 워드 프로세서 파일에서 기술하고, 이와 별도로 NetLogo 프로그램도 제출하시오.
6. On the interface, set q to a value of 0.3 to 0.4, slow down ticks, and run. The plot shows that the corridor width value increases and decreases as the tick grows. Describe the reasons for the increase and decrease in the word processor file, and submit the NetLogo program separately.

 

7. 움직이는 agent 가 사람이거나 조직(기업, 정부, 정당, 노동조합, 학교 등)이라면, 어떤 상황이 이와 유사할 수 있겠는지, 그리고 사람이나 조직이 움직이는 공간은 어떤 공간이 될 수 있겠는지 기술하시오.
7. If a moving agent is a person or an organization (business, government, political party, trade union, school, etc.), describe what circumstances might be similar to this and what space a person or organization can move in.

Fountain Writers
Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essays

Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.

Admissions

Admission Essays & Business Writing Help

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.

Reviews

Editing Support

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.

Reviews

Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.