Tutorial 10 Decision Blocks

View: New views
3 Messages — Rating Filter:   Alert me  

Tutorial 10 Decision Blocks

by Hidemichi Yonezawa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi,

In the tutorial, the Step3 of the decision block is

voltage > 2.volts

However, there is no choice like that.
The default is

voltage > 120

I am using just the default.
Is it fine? Also, if someone explain of this step3 of the
decision block, I would really appreciate it.

Sincerely,
Hidemichi


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Tutorial 10 Decision Blocks

by Tatara, Eric R. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Step 3 provides a list of some example expressions for the agent to
evaluate.  What shows up in Step 3 is not actually used in the decision
block, only what shows up in Step 4.  If you select an item in Step 3 it
is copied to Step 4 and you may edit Step 4 independenly of Step 3.  In
the Ch 10 of the tutorial, the example in Step 3 is used to illustrate
comparing an agent attribute using the "greater than" operator with a
constant value (watchedNode.pressure < 200).

As a side node, the SI units can be used to compare Amount properties,
as long as the units can be compared in a meaningful way, ie you may
compare "voltage > 2.volts" as long as the voltage propery can be
converted to volts, but not to say another unit type such as length.

eric


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation
Decision and Information Sciences Division
Argonne National Laboratory

-----Original Message-----
From: repast-interest-bounces@...
[mailto:repast-interest-bounces@...] On Behalf Of
Hidemichi Yonezawa
Sent: Monday, June 23, 2008 6:46 PM
To: repast-interest@...
Subject: [Repast-interest] Tutorial 10 Decision Blocks



Hi,

In the tutorial, the Step3 of the decision block is

voltage > 2.volts

However, there is no choice like that.
The default is

voltage > 120

I am using just the default.
Is it fine? Also, if someone explain of this step3 of the decision
block, I would really appreciate it.

Sincerely,
Hidemichi


------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for just about anything Open
Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Tutorial 10 Decision Blocks

by Hidemichi Yonezawa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Eric,

Thanks. I got it.

I have another question. Is there any tutorial or some material
other than that initial tutorial and Boids tutorial for learning Repast S?
Although I did both, I am not enough familiar to use Repast to make
a model at all. I know about the course at the conference in Virginia.
However, I don't think I can go there. Also, I've heard the course by Argonne
lab would be next year.
If anyone knows something, it would be really helpful.
Thanks in advance.

Hidemichi Yonezawa


Quoting "Tatara, Eric R." <tatara@...>:

> Step 3 provides a list of some example expressions for the agent to
> evaluate.  What shows up in Step 3 is not actually used in the decision
> block, only what shows up in Step 4.  If you select an item in Step 3 it
> is copied to Step 4 and you may edit Step 4 independenly of Step 3.  In
> the Ch 10 of the tutorial, the example in Step 3 is used to illustrate
> comparing an agent attribute using the "greater than" operator with a
> constant value (watchedNode.pressure < 200).
>
> As a side node, the SI units can be used to compare Amount properties,
> as long as the units can be compared in a meaningful way, ie you may
> compare "voltage > 2.volts" as long as the voltage propery can be
> converted to volts, but not to say another unit type such as length.
>
> eric
>
>
> Eric Tatara, Ph.D.
> Assistant Software Engineer
> Center for Complex Adaptive Agent Systems Simulation
> Decision and Information Sciences Division
> Argonne National Laboratory
>
> -----Original Message-----
> From: repast-interest-bounces@...
> [mailto:repast-interest-bounces@...] On Behalf Of
> Hidemichi Yonezawa
> Sent: Monday, June 23, 2008 6:46 PM
> To: repast-interest@...
> Subject: [Repast-interest] Tutorial 10 Decision Blocks
>
>
>
> Hi,
>
> In the tutorial, the Step3 of the decision block is
>
> voltage > 2.volts
>
> However, there is no choice like that.
> The default is
>
> voltage > 120
>
> I am using just the default.
> Is it fine? Also, if someone explain of this step3 of the decision
> block, I would really appreciate it.
>
> Sincerely,
> Hidemichi
>
>
> ------------------------------------------------------------------------
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for just about anything Open
> Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Repast-interest mailing list
> Repast-interest@...
> https://lists.sourceforge.net/lists/listinfo/repast-interest
>



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest