<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.turtlezero.com/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.turtlezero.com/wiki/feed.php">
        <title>DokuWiki</title>
        <description></description>
        <link>http://www.turtlezero.com/wiki/</link>
        <image rdf:resource="http://www.turtlezero.com/wiki/lib/images/favicon.ico" />
       <dc:date>2012-06-22T13:12:52-04:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.turtlezero.com/wiki/doku.php?id=code:turtle_based_database_example_1&amp;rev=1257533158&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.turtlezero.com/wiki/doku.php?id=start&amp;rev=1257369591&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.turtlezero.com/wiki/doku.php?id=prim:if&amp;rev=1252503640&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.turtlezero.com/wiki/doku.php?id=guide:ifelse&amp;rev=1247855493&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.turtlezero.com/wiki/doku.php?id=guide:sip_syntax&amp;rev=1243303382&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.turtlezero.com/wiki/doku.php?id=guide:best_practices&amp;rev=1242482292&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.turtlezero.com/wiki/doku.php?id=guide:trigonometry&amp;rev=1242151675&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.turtlezero.com/wiki/doku.php?id=guide:optimize&amp;rev=1235575644&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.turtlezero.com/wiki/doku.php?id=guide:a-star&amp;rev=1231536767&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.turtlezero.com/wiki/doku.php?id=guide:read_files&amp;rev=1231261272&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.turtlezero.com/wiki/lib/images/favicon.ico">
        <title>DokuWiki</title>
        <link>http://www.turtlezero.com/wiki/</link>
        <url>http://www.turtlezero.com/wiki/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.turtlezero.com/wiki/doku.php?id=code:turtle_based_database_example_1&amp;rev=1257533158&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-06T13:45:58-04:00</dc:date>
        <dc:creator>James Steiner</dc:creator>
        <title>code:turtle_based_database_example_1 - old revision restored</title>
        <link>http://www.turtlezero.com/wiki/doku.php?id=code:turtle_based_database_example_1&amp;rev=1257533158&amp;do=diff</link>
        <description>Why would I want to do that?


Because your model's data management requirements, such as the agent's memory, is more complicated than can be reasonably managed with lists, and you don't want or don't have an external database extension to work from.</description>
    </item>
    <item rdf:about="http://www.turtlezero.com/wiki/doku.php?id=start&amp;rev=1257369591&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-04T16:19:51-04:00</dc:date>
        <title>start - old revision restored</title>
        <link>http://www.turtlezero.com/wiki/doku.php?id=start&amp;rev=1257369591&amp;do=diff</link>
        <description>[Looking Under the Hood  ]

Welcome to the Open NetLogo Wiki


Hosted by Array

A wiki is software that allows users to easily create, edit, and link pages together. It is a collaborative web site. Read more about wikis here:

&lt;http://en.wikipedia.org/wiki/Wiki&gt;</description>
    </item>
    <item rdf:about="http://www.turtlezero.com/wiki/doku.php?id=prim:if&amp;rev=1252503640&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-09T09:40:40-04:00</dc:date>
        <title>prim:if - formatted code</title>
        <link>http://www.turtlezero.com/wiki/doku.php?id=prim:if&amp;rev=1252503640&amp;do=diff</link>
        <description>Click (here) to see the discussion about this primitive.

Summary Evaluates the boolean value. If it is true, the commands are executed. Syntax 
if boolean-value [ commands ]
Version --na-- Tags flow-control Used By universal CCL Link dictionary==&gt;if 
Description


IF is used to selectively execute commands depending on the outcome of a “test”. The test is a boolean expression--an expression that evaluates to either true or false. *IFELSE* is used to selectively execute some commands if the test…</description>
    </item>
    <item rdf:about="http://www.turtlezero.com/wiki/doku.php?id=guide:ifelse&amp;rev=1247855493&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-07-17T14:31:33-04:00</dc:date>
        <title>guide:ifelse - Syntax was an error using [] instead of () for conditions</title>
        <link>http://www.turtlezero.com/wiki/doku.php?id=guide:ifelse&amp;rev=1247855493&amp;do=diff</link>
        <description>Emulating SWITCH and SELECT CASE


The switch structure or select/case structure from other languages does not exist in NetLogo. However, something similar can be accomplished in NetLogo using a chain of nested IF-ElSE statements.

The key to using IF-ELSE like this in a maintainable and legible way is to arrange the code to make the programmer's intent clear. Note the use of alignment, bracket-shifting, and short action code in the following example to emphasize the idea that this code selects …</description>
    </item>
    <item rdf:about="http://www.turtlezero.com/wiki/doku.php?id=guide:sip_syntax&amp;rev=1243303382&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-25T22:03:02-04:00</dc:date>
        <title>guide:sip_syntax - created</title>
        <link>http://www.turtlezero.com/wiki/doku.php?id=guide:sip_syntax&amp;rev=1243303382&amp;do=diff</link>
        <description>Special Inclusive Parenthetical syntax.

Some reporters that have a default fixed number of inputs, such as WORD and LIST, can be made to take more or less inputs by surrounding the entire expression with parenthesese. These parenthesese tell NetLogo to include the additional inputs, or to not eexpect more inputs when fewer inputs are provided. Some examples will help illustrate this.</description>
    </item>
    <item rdf:about="http://www.turtlezero.com/wiki/doku.php?id=guide:best_practices&amp;rev=1242482292&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-16T09:58:12-04:00</dc:date>
        <title>guide:best_practices</title>
        <link>http://www.turtlezero.com/wiki/doku.php?id=guide:best_practices&amp;rev=1242482292&amp;do=diff</link>
        <description>There are several schools of thought on how to layout code.

The following guidelines are informed by experience coding and working with new NetLogo users.


Basic Layout.


	*  One statement per line

	*  Statements inside procedures should be indented 3 spaces (to line up with the procedure name)
	*  Code blocks should start on a new line
	*  Open brackets around code blocks should be on the next line, aligned with the with the command that created the code block
	*  Open brackets should not l…</description>
    </item>
    <item rdf:about="http://www.turtlezero.com/wiki/doku.php?id=guide:trigonometry&amp;rev=1242151675&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-12T14:07:55-04:00</dc:date>
        <title>guide:trigonometry - extended, added detais about DX and DY</title>
        <link>http://www.turtlezero.com/wiki/doku.php?id=guide:trigonometry&amp;rev=1242151675&amp;do=diff</link>
        <description>There are significant differences between the basis and results of the standard trigonometric functions, such as implemented in other languages, and as implemented in Netlogo.

The differences are designed to make working with these functions easier and more intuitive for students and other modelers who are not familiar with traditional trigonometry.</description>
    </item>
    <item rdf:about="http://www.turtlezero.com/wiki/doku.php?id=guide:optimize&amp;rev=1235575644&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-02-25T10:27:24-04:00</dc:date>
        <title>guide:optimize</title>
        <link>http://www.turtlezero.com/wiki/doku.php?id=guide:optimize&amp;rev=1235575644&amp;do=diff</link>
        <description>Things that do not affect execution speed at all

	*  Length of variable names
		*  Length of breed names
		*  Length of command or reporter procedure names
		*  Length of comments
		*  Position of comments
		*  Spacing between words
		*  Blank lines
		*  Line breaks within code lines</description>
    </item>
    <item rdf:about="http://www.turtlezero.com/wiki/doku.php?id=guide:a-star&amp;rev=1231536767&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-09T16:32:47-04:00</dc:date>
        <title>guide:a-star - created</title>
        <link>http://www.turtlezero.com/wiki/doku.php?id=guide:a-star&amp;rev=1231536767&amp;do=diff</link>
        <description>Here's an idea regarding the A* algorithm.


	&quot; One interesting feature of all these grid search methods, is that they
 have not only the current best path to the goal, but also have *a*
 path, if not the *best* path, from every point searched, back to the
 origin. So, for example, rather than several enemies finding their own
 path to the player, the program can instead find the path from the
 player to the most distant enemy, also noting which *other* enemies
 are on the paths searched. Any en…</description>
    </item>
    <item rdf:about="http://www.turtlezero.com/wiki/doku.php?id=guide:read_files&amp;rev=1231261272&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-06T12:01:12-04:00</dc:date>
        <title>guide:read_files</title>
        <link>http://www.turtlezero.com/wiki/doku.php?id=guide:read_files&amp;rev=1231261272&amp;do=diff</link>
        <description>How do I read a file containing a matrix or list of numbers into a list or array in NetLogo?

If you can arrange for your data to be formatted as a NetLogo literal list, the process becomes trivial.

File contains a matrix:


[
[ 1 2 3 4 5 ]
[ 2 3 4 5 6 ]
[ 3 4 5 6 7 ]
[ 4 5 6 7 8 ]
]</description>
    </item>
</rdf:RDF>
