<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=NetLogo%2FFiles</id>
	<title>NetLogo/Files - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=NetLogo%2FFiles"/>
	<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=NetLogo/Files&amp;action=history"/>
	<updated>2026-05-22T21:07:48Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=NetLogo/Files&amp;diff=40999&amp;oldid=prev</id>
		<title>Patarakin: /* =  Export-view */</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=NetLogo/Files&amp;diff=40999&amp;oldid=prev"/>
		<updated>2025-12-26T04:49:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;=  Export-view&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 07:49, 26 декабря 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot;&gt;Строка 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  file-open user-new-file&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  file-open user-new-file&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=====  Export-view ====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=====  Export-view &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  to clustC&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  to clustC&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  let Centr max-one-of users [nw:betweenness-centrality]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  let Centr max-one-of users [nw:betweenness-centrality]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Patarakin</name></author>
	</entry>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=NetLogo/Files&amp;diff=17634&amp;oldid=prev</id>
		<title>Patarakin: Новая страница: «  ==== File-Open ==== ; file-open - открыть файл : file-open &quot;task_7.txt&quot; :   while [ not file-at-end? ] [ set wikihistory lput read-from-string (word &quot;[&quot; file-read-line &quot;]&quot;)  wikihistory] : file-close  Открыли файл и считали все его содержимое построчно в список с именем wikihistory  ==== Read-from-string ==== ; Пример - file-exists? file-open file-at-end? file-read-line     ifelse (...»</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=NetLogo/Files&amp;diff=17634&amp;oldid=prev"/>
		<updated>2024-05-02T13:21:34Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «  ==== File-Open ==== ; file-open - открыть файл : file-open &amp;quot;task_7.txt&amp;quot; :   while [ not file-at-end? ] [ set wikihistory lput read-from-string (word &amp;quot;[&amp;quot; file-read-line &amp;quot;]&amp;quot;)  wikihistory] : file-close  Открыли файл и считали все его содержимое построчно в список с именем wikihistory  ==== Read-from-string ==== ; Пример - file-exists? file-open file-at-end? file-read-line     ifelse (...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==== File-Open ====&lt;br /&gt;
; file-open - открыть файл&lt;br /&gt;
: file-open &amp;quot;task_7.txt&amp;quot;&lt;br /&gt;
:   while [ not file-at-end? ] [ set wikihistory lput read-from-string (word &amp;quot;[&amp;quot; file-read-line &amp;quot;]&amp;quot;)  wikihistory]&lt;br /&gt;
: file-close&lt;br /&gt;
&lt;br /&gt;
Открыли файл и считали все его содержимое построчно в список с именем wikihistory&lt;br /&gt;
&lt;br /&gt;
==== Read-from-string ====&lt;br /&gt;
; Пример - file-exists? file-open file-at-end? file-read-line&lt;br /&gt;
    ifelse ( file-exists? &amp;quot;profile.txt&amp;quot; )&lt;br /&gt;
   [     file-open &amp;quot;profile.txt&amp;quot;&lt;br /&gt;
        while [ not file-at-end? ]     [ &lt;br /&gt;
          let author read-from-string (word &amp;quot;[&amp;quot; file-read-line &amp;quot;]&amp;quot;)  &lt;br /&gt;
          ask one-of users with [agentname = item 0 author]&lt;br /&gt;
          [&lt;br /&gt;
            set FullName item 1 author&lt;br /&gt;
            set TB item 2 author&lt;br /&gt;
            set OSB item 3 author&lt;br /&gt;
            set Block item 4 author&lt;br /&gt;
          ] &lt;br /&gt;
          ]&lt;br /&gt;
    file-close&lt;br /&gt;
    user-message &amp;quot;Готово!&amp;quot;&lt;br /&gt;
     ]&lt;br /&gt;
     [ user-message &amp;quot;profile.txt нет такого файла!&amp;quot; ]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== File-Print ====&lt;br /&gt;
  file-open &amp;quot;losted_sch.txt&amp;quot;&lt;br /&gt;
  foreach reverse sort-on [norm-betweenness] users [file-print (se ? [norm-betweenness] of ? [agentname] of ?)]&lt;br /&gt;
 file-close&lt;br /&gt;
&lt;br /&gt;
==== user-new-file ====&lt;br /&gt;
 file-open user-new-file&lt;br /&gt;
&lt;br /&gt;
=====  Export-view ====&lt;br /&gt;
 to clustC&lt;br /&gt;
 let Centr max-one-of users [nw:betweenness-centrality]&lt;br /&gt;
 layout-radial turtles links Centr&lt;br /&gt;
 export-view (word &amp;quot;../sber_results/u325/clusters/&amp;quot; [who] of Centr &amp;quot;.png&amp;quot; )&lt;br /&gt;
 ask Centr [die]&lt;br /&gt;
 ask users with [count my-links = 0] [die] &lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
[[Категория:NetLogo]]&lt;/div&gt;</summary>
		<author><name>Patarakin</name></author>
	</entry>
</feed>