You can subscribe to this list here.
| 2004 | 
          Jan
           (1)  | 
        
        
        
        
          Feb
           (1)  | 
        
        
        
        
          Mar
           (3)  | 
        
        
        
        
          Apr
           (12)  | 
        
        
        
        
          May
           (1)  | 
        
        
        
        
          Jun
           | 
        
        
        
        
          Jul
           | 
        
        
        
        
          Aug
           | 
        
        
        
        
          Sep
           (5)  | 
        
        
        
        
          Oct
           (3)  | 
        
        
        
        
          Nov
           (2)  | 
        
        
        
        
          Dec
           | 
        
      
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 | 
          Jan
           | 
        
        
        
        
          Feb
           | 
        
        
        
        
          Mar
           (6)  | 
        
        
        
        
          Apr
           (2)  | 
        
        
        
        
          May
           (3)  | 
        
        
        
        
          Jun
           (6)  | 
        
        
        
        
          Jul
           | 
        
        
        
        
          Aug
           (1)  | 
        
        
        
        
          Sep
           (5)  | 
        
        
        
        
          Oct
           (32)  | 
        
        
        
        
          Nov
           | 
        
        
        
        
          Dec
           (4)  | 
        
      
| 2006 | 
          Jan
           (1)  | 
        
        
        
        
          Feb
           (1)  | 
        
        
        
        
          Mar
           (3)  | 
        
        
        
        
          Apr
           (1)  | 
        
        
        
        
          May
           (1)  | 
        
        
        
        
          Jun
           | 
        
        
        
        
          Jul
           (1)  | 
        
        
        
        
          Aug
           (1)  | 
        
        
        
        
          Sep
           | 
        
        
        
        
          Oct
           (6)  | 
        
        
        
        
          Nov
           (6)  | 
        
        
        
        
          Dec
           | 
        
      
| 2007 | 
          Jan
           | 
        
        
        
        
          Feb
           (7)  | 
        
        
        
        
          Mar
           (20)  | 
        
        
        
        
          Apr
           (9)  | 
        
        
        
        
          May
           (4)  | 
        
        
        
        
          Jun
           (13)  | 
        
        
        
        
          Jul
           (9)  | 
        
        
        
        
          Aug
           (8)  | 
        
        
        
        
          Sep
           | 
        
        
        
        
          Oct
           (7)  | 
        
        
        
        
          Nov
           (7)  | 
        
        
        
        
          Dec
           (3)  | 
        
      
| 2008 | 
          Jan
           | 
        
        
        
        
          Feb
           (5)  | 
        
        
        
        
          Mar
           (1)  | 
        
        
        
        
          Apr
           (46)  | 
        
        
        
        
          May
           (7)  | 
        
        
        
        
          Jun
           (5)  | 
        
        
        
        
          Jul
           (1)  | 
        
        
        
        
          Aug
           (15)  | 
        
        
        
        
          Sep
           (19)  | 
        
        
        
        
          Oct
           | 
        
        
        
        
          Nov
           (2)  | 
        
        
        
        
          Dec
           (1)  | 
        
      
| 2009 | 
          Jan
           (3)  | 
        
        
        
        
          Feb
           (2)  | 
        
        
        
        
          Mar
           (10)  | 
        
        
        
        
          Apr
           (16)  | 
        
        
        
        
          May
           (18)  | 
        
        
        
        
          Jun
           (12)  | 
        
        
        
        
          Jul
           (13)  | 
        
        
        
        
          Aug
           (10)  | 
        
        
        
        
          Sep
           (5)  | 
        
        
        
        
          Oct
           | 
        
        
        
        
          Nov
           (2)  | 
        
        
        
        
          Dec
           (3)  | 
        
      
| 2010 | 
          Jan
           (17)  | 
        
        
        
        
          Feb
           (10)  | 
        
        
        
        
          Mar
           (3)  | 
        
        
        
        
          Apr
           (2)  | 
        
        
        
        
          May
           (12)  | 
        
        
        
        
          Jun
           (17)  | 
        
        
        
        
          Jul
           (27)  | 
        
        
        
        
          Aug
           (20)  | 
        
        
        
        
          Sep
           (8)  | 
        
        
        
        
          Oct
           (12)  | 
        
        
        
        
          Nov
           (3)  | 
        
        
        
        
          Dec
           (2)  | 
        
      
| 2011 | 
          Jan
           (16)  | 
        
        
        
        
          Feb
           (6)  | 
        
        
        
        
          Mar
           (3)  | 
        
        
        
        
          Apr
           (2)  | 
        
        
        
        
          May
           | 
        
        
        
        
          Jun
           (11)  | 
        
        
        
        
          Jul
           (4)  | 
        
        
        
        
          Aug
           (9)  | 
        
        
        
        
          Sep
           (10)  | 
        
        
        
        
          Oct
           (8)  | 
        
        
        
        
          Nov
           (10)  | 
        
        
        
        
          Dec
           (3)  | 
        
      
| 2012 | 
          Jan
           (6)  | 
        
        
        
        
          Feb
           (4)  | 
        
        
        
        
          Mar
           (3)  | 
        
        
        
        
          Apr
           (10)  | 
        
        
        
        
          May
           (7)  | 
        
        
        
        
          Jun
           (5)  | 
        
        
        
        
          Jul
           (4)  | 
        
        
        
        
          Aug
           (18)  | 
        
        
        
        
          Sep
           (14)  | 
        
        
        
        
          Oct
           (17)  | 
        
        
        
        
          Nov
           (12)  | 
        
        
        
        
          Dec
           | 
        
      
| 2013 | 
          Jan
           (6)  | 
        
        
        
        
          Feb
           (7)  | 
        
        
        
        
          Mar
           (4)  | 
        
        
        
        
          Apr
           (8)  | 
        
        
        
        
          May
           (5)  | 
        
        
        
        
          Jun
           (7)  | 
        
        
        
        
          Jul
           (4)  | 
        
        
        
        
          Aug
           (1)  | 
        
        
        
        
          Sep
           (3)  | 
        
        
        
        
          Oct
           | 
        
        
        
        
          Nov
           | 
        
        
        
        
          Dec
           (6)  | 
        
      
| 2014 | 
          Jan
           (4)  | 
        
        
        
        
          Feb
           | 
        
        
        
        
          Mar
           (6)  | 
        
        
        
        
          Apr
           (2)  | 
        
        
        
        
          May
           | 
        
        
        
        
          Jun
           (10)  | 
        
        
        
        
          Jul
           (1)  | 
        
        
        
        
          Aug
           (2)  | 
        
        
        
        
          Sep
           (1)  | 
        
        
        
        
          Oct
           | 
        
        
        
        
          Nov
           | 
        
        
        
        
          Dec
           | 
        
      
| 2015 | 
          Jan
           | 
        
        
        
        
          Feb
           | 
        
        
        
        
          Mar
           (3)  | 
        
        
        
        
          Apr
           (3)  | 
        
        
        
        
          May
           (7)  | 
        
        
        
        
          Jun
           (5)  | 
        
        
        
        
          Jul
           (1)  | 
        
        
        
        
          Aug
           (3)  | 
        
        
        
        
          Sep
           (2)  | 
        
        
        
        
          Oct
           (2)  | 
        
        
        
        
          Nov
           (6)  | 
        
        
        
        
          Dec
           (3)  | 
        
      
| 2016 | 
          Jan
           (2)  | 
        
        
        
        
          Feb
           | 
        
        
        
        
          Mar
           | 
        
        
        
        
          Apr
           (7)  | 
        
        
        
        
          May
           | 
        
        
        
        
          Jun
           (5)  | 
        
        
        
        
          Jul
           (1)  | 
        
        
        
        
          Aug
           (2)  | 
        
        
        
        
          Sep
           (5)  | 
        
        
        
        
          Oct
           (5)  | 
        
        
        
        
          Nov
           (2)  | 
        
        
        
        
          Dec
           | 
        
      
| 2017 | 
          Jan
           (5)  | 
        
        
        
        
          Feb
           (4)  | 
        
        
        
        
          Mar
           (3)  | 
        
        
        
        
          Apr
           (6)  | 
        
        
        
        
          May
           | 
        
        
        
        
          Jun
           | 
        
        
        
        
          Jul
           | 
        
        
        
        
          Aug
           (2)  | 
        
        
        
        
          Sep
           (1)  | 
        
        
        
        
          Oct
           | 
        
        
        
        
          Nov
           (1)  | 
        
        
        
        
          Dec
           | 
        
      
| 2018 | 
          Jan
           (2)  | 
        
        
        
        
          Feb
           | 
        
        
        
        
          Mar
           | 
        
        
        
        
          Apr
           | 
        
        
        
        
          May
           (6)  | 
        
        
        
        
          Jun
           (1)  | 
        
        
        
        
          Jul
           (3)  | 
        
        
        
        
          Aug
           (2)  | 
        
        
        
        
          Sep
           | 
        
        
        
        
          Oct
           (6)  | 
        
        
        
        
          Nov
           (4)  | 
        
        
        
        
          Dec
           | 
        
      
| 2019 | 
          Jan
           (1)  | 
        
        
        
        
          Feb
           (5)  | 
        
        
        
        
          Mar
           (6)  | 
        
        
        
        
          Apr
           (5)  | 
        
        
        
        
          May
           | 
        
        
        
        
          Jun
           (5)  | 
        
        
        
        
          Jul
           (2)  | 
        
        
        
        
          Aug
           (7)  | 
        
        
        
        
          Sep
           (1)  | 
        
        
        
        
          Oct
           (7)  | 
        
        
        
        
          Nov
           | 
        
        
        
        
          Dec
           | 
        
      
| 2020 | 
          Jan
           | 
        
        
        
        
          Feb
           | 
        
        
        
        
          Mar
           | 
        
        
        
        
          Apr
           | 
        
        
        
        
          May
           | 
        
        
        
        
          Jun
           | 
        
        
        
        
          Jul
           | 
        
        
        
        
          Aug
           | 
        
        
        
        
          Sep
           | 
        
        
        
        
          Oct
           (1)  | 
        
        
        
        
          Nov
           (2)  | 
        
        
        
        
          Dec
           | 
        
      
| 2021 | 
          Jan
           | 
        
        
        
        
          Feb
           | 
        
        
        
        
          Mar
           | 
        
        
        
        
          Apr
           | 
        
        
        
        
          May
           | 
        
        
        
        
          Jun
           | 
        
        
        
        
          Jul
           | 
        
        
        
        
          Aug
           (2)  | 
        
        
        
        
          Sep
           (2)  | 
        
        
        
        
          Oct
           (3)  | 
        
        
        
        
          Nov
           | 
        
        
        
        
          Dec
           | 
        
      
| 2022 | 
          Jan
           (5)  | 
        
        
        
        
          Feb
           (1)  | 
        
        
        
        
          Mar
           | 
        
        
        
        
          Apr
           | 
        
        
        
        
          May
           (5)  | 
        
        
        
        
          Jun
           (9)  | 
        
        
        
        
          Jul
           | 
        
        
        
        
          Aug
           | 
        
        
        
        
          Sep
           (2)  | 
        
        
        
        
          Oct
           | 
        
        
        
        
          Nov
           (4)  | 
        
        
        
        
          Dec
           | 
        
      
| 2023 | 
          Jan
           | 
        
        
        
        
          Feb
           | 
        
        
        
        
          Mar
           (1)  | 
        
        
        
        
          Apr
           (4)  | 
        
        
        
        
          May
           | 
        
        
        
        
          Jun
           (5)  | 
        
        
        
        
          Jul
           (1)  | 
        
        
        
        
          Aug
           | 
        
        
        
        
          Sep
           (3)  | 
        
        
        
        
          Oct
           | 
        
        
        
        
          Nov
           | 
        
        
        
        
          Dec
           (3)  | 
        
      
| 2024 | 
          Jan
           (7)  | 
        
        
        
        
          Feb
           (1)  | 
        
        
        
        
          Mar
           | 
        
        
        
        
          Apr
           (17)  | 
        
        
        
        
          May
           | 
        
        
        
        
          Jun
           | 
        
        
        
        
          Jul
           | 
        
        
        
        
          Aug
           | 
        
        
        
        
          Sep
           | 
        
        
        
        
          Oct
           | 
        
        
        
        
          Nov
           | 
        
        
        
        
          Dec
           | 
        
      
| 2025 | 
          Jan
           | 
        
        
        
        
          Feb
           | 
        
        
        
        
          Mar
           (3)  | 
        
        
        
        
          Apr
           | 
        
        
        
        
          May
           | 
        
        
        
        
          Jun
           | 
        
        
        
        
          Jul
           | 
        
        
        
        
          Aug
           | 
        
        
        
        
          Sep
           | 
        
        
        
        
          Oct
           | 
        
        
        
        
          Nov
           | 
        
        
        
        
          Dec
           | 
        
      
| S | M | T | W | T | F | S | 
|---|---|---|---|---|---|---|
| 
           
           | 
        
        
           
           | 
        
        
           
           | 
        
        
           
           | 
        
        
          1
           | 
        
        
          2
           | 
        
        
          3
           | 
        
      
| 
          4
           | 
        
        
          5
           | 
        
        
          6
           | 
        
        
          7
           | 
        
        
          8
           (2)  | 
        
        
          9
           (2)  | 
        
        
          10
           | 
        
      
| 
          11
           | 
        
        
          12
           | 
        
        
          13
           | 
        
        
          14
           | 
        
        
          15
           | 
        
        
          16
           | 
        
        
          17
           (2)  | 
        
      
| 
          18
           | 
        
        
          19
           | 
        
        
          20
           | 
        
        
          21
           (1)  | 
        
        
          22
           (2)  | 
        
        
          23
           (1)  | 
        
        
          24
           | 
        
      
| 
          25
           | 
        
        
          26
           | 
        
        
          27
           | 
        
        
          28
           | 
        
        
          29
           | 
        
        
          30
           | 
        
        
           
           | 
        
      
| 
     
      
      
      From: Marcos C. <o.p...@gm...> - 2011-09-23 20:49:54
      
     
   | 
Hum. I happy to help we found it :)
I will use the "wrap" method.
bye...
2011/9/22 Jomi Fred Hubner <jo...@da...>
> Hi Marcos,
>
> we realised only now that the mas2j parser does not consider real numbers!
> (It is really strange that no one has reported this problem before)
>
> it is fixed in the subversion and will be available in the next release of
> Jason.
>
> as an workaround, you can "wrap" the number as a string:
>        ... visionCost("0.8")....
>
> HTH,
>
> Jomi
>
> On 22/09/2011, at 12:16, Marcos Côrtes wrote:
>
> > Hi, I think I found a bug.
> >
> > I tried create a enviromnent with params:
> > [code]
> > MAS taskalloc {
> >    infrastructure: Centralised
> >
> >    environment: br.uff.ic.taskalloc.Organization(outFile("out.xml"),
> taskCount(500), visionCost(0.8), visionRep(0.2))
> >    agents:
> >        rational #5;
> >
> >    aslSourcePath: "src/main/asl";
> > }
> > [/code]
> >
> > in method init of Organization I parse "outFile", "taskCount", etc...
> with Literal.parseLiteral.
> >
> > But the Eclipse plugin and when I run the aplication, this throw the
> exception:
> >
> > jason.mas2j.parser.ParseException: Encountered "." at line 10, column 98.
> > Was expecting one of:
> >     "," ...
> >     ")" ...
> >
> >       at jason.mas2j.parser.mas2j.generateParseException(mas2j.java:743)
> >       at jason.mas2j.parser.mas2j.jj_consume_token(mas2j.java:679)
> >       at jason.mas2j.parser.mas2j.classDef(mas2j.java:297)
> >       at jason.mas2j.parser.mas2j.parameter(mas2j.java:312)
> >       at jason.mas2j.parser.mas2j.classDef(mas2j.java:289)
> >       at jason.mas2j.parser.mas2j.environment(mas2j.java:459)
> >       at jason.mas2j.parser.mas2j.mas(mas2j.java:74)
> >       at
> jason.infra.centralised.RunCentralisedMAS.init(RunCentralisedMAS.java:160)
> >       at
> jason.infra.centralised.RunCentralisedMAS.main(RunCentralisedMAS.java:97)
> >
> > Exception in thread "main" java.lang.NullPointerException
> >       at
> jason.infra.centralised.RunCentralisedMAS.createEnvironment(RunCentralisedMAS.java:353)
> >       at
> jason.infra.centralised.RunCentralisedMAS.create(RunCentralisedMAS.java:200)
> >       at
> jason.infra.centralised.RunCentralisedMAS.main(RunCentralisedMAS.java:98)
> >
> >
> > It is not serious, but I think it help the develop to use the Envrionment
> params.
> >
> > Thanks.
> > --
> > Ass: Marcos Côrtes
> > Mestrando Computação - UFF
> >
> ------------------------------------------------------------------------------
> > All the data continuously generated in your IT infrastructure contains a
> > definitive record of customers, application performance, security
> > threats, fraudulent activity and more. Splunk takes this data and makes
> > sense of it. Business sense. IT sense. Common sense.
> >
> http://p.sf.net/sfu/splunk-d2dcopy1_______________________________________________
> > Jason-users mailing list
> > Jas...@li...
> > https://lists.sourceforge.net/lists/listinfo/jason-users
>
> --
> Jomi Fred Hubner
> Federal University of Santa Catarina
> Department of Automation and Systems Engineering
> PO Box 476, Florianópolis, SC
> 88040-900 Brazil
> http://www.das.ufsc.br/~jomi
>
>
-- 
Ass: Marcos Côrtes
Mestrando Computação - UFF
 | 
| 
     
      
      
      From: Jomi F. H. <jo...@da...> - 2011-09-22 18:08:21
      
     
   | 
Hi Marcos,
we realised only now that the mas2j parser does not consider real numbers! (It is really strange that no one has reported this problem before)
it is fixed in the subversion and will be available in the next release of Jason. 
as an workaround, you can "wrap" the number as a string:
	... visionCost("0.8")....
HTH,
Jomi
On 22/09/2011, at 12:16, Marcos Côrtes wrote:
> Hi, I think I found a bug.
> 
> I tried create a enviromnent with params:
> [code]
> MAS taskalloc {
>    infrastructure: Centralised
> 
>    environment: br.uff.ic.taskalloc.Organization(outFile("out.xml"), taskCount(500), visionCost(0.8), visionRep(0.2))
>    agents:
>        rational #5;
> 
>    aslSourcePath: "src/main/asl"; 
> }
> [/code]
> 
> in method init of Organization I parse "outFile", "taskCount", etc... with Literal.parseLiteral.
> 
> But the Eclipse plugin and when I run the aplication, this throw the exception: 
> 
> jason.mas2j.parser.ParseException: Encountered "." at line 10, column 98.
> Was expecting one of:
>     "," ...
>     ")" ...
>     
> 	at jason.mas2j.parser.mas2j.generateParseException(mas2j.java:743)
> 	at jason.mas2j.parser.mas2j.jj_consume_token(mas2j.java:679)
> 	at jason.mas2j.parser.mas2j.classDef(mas2j.java:297)
> 	at jason.mas2j.parser.mas2j.parameter(mas2j.java:312)
> 	at jason.mas2j.parser.mas2j.classDef(mas2j.java:289)
> 	at jason.mas2j.parser.mas2j.environment(mas2j.java:459)
> 	at jason.mas2j.parser.mas2j.mas(mas2j.java:74)
> 	at jason.infra.centralised.RunCentralisedMAS.init(RunCentralisedMAS.java:160)
> 	at jason.infra.centralised.RunCentralisedMAS.main(RunCentralisedMAS.java:97)
> 
> Exception in thread "main" java.lang.NullPointerException
> 	at jason.infra.centralised.RunCentralisedMAS.createEnvironment(RunCentralisedMAS.java:353)
> 	at jason.infra.centralised.RunCentralisedMAS.create(RunCentralisedMAS.java:200)
> 	at jason.infra.centralised.RunCentralisedMAS.main(RunCentralisedMAS.java:98)
> 
> 
> It is not serious, but I think it help the develop to use the Envrionment params.
> 
> Thanks.
> -- 
> Ass: Marcos Côrtes
> Mestrando Computação - UFF
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1_______________________________________________
> Jason-users mailing list
> Jas...@li...
> https://lists.sourceforge.net/lists/listinfo/jason-users
-- 
Jomi Fred Hubner
Federal University of Santa Catarina
Department of Automation and Systems Engineering
PO Box 476, Florianópolis, SC
88040-900 Brazil
http://www.das.ufsc.br/~jomi
 | 
| 
     
      
      
      From: Marcos C. <o.p...@gm...> - 2011-09-22 15:16:43
      
     
   | 
Hi, I think I found a bug.
I tried create a enviromnent with params:
[code]
MAS taskalloc {
   infrastructure: Centralised
   environment: br.uff.ic.taskalloc.Organization(outFile("out.xml"),
taskCount(500), visionCost(0.8), visionRep(0.2))
   agents:
       rational #5;
   aslSourcePath: "src/main/asl";
}
[/code]
in method init of Organization I parse "outFile", "taskCount", etc... with
Literal.parseLiteral.
But the Eclipse plugin and when I run the aplication, this throw the
exception:
jason.mas2j.parser.ParseException: Encountered "." at line 10, column 98.
Was expecting one of:
    "," ...
    ")" ...
at jason.mas2j.parser.mas2j.generateParseException(mas2j.java:743)
at jason.mas2j.parser.mas2j.jj_consume_token(mas2j.java:679)
at jason.mas2j.parser.mas2j.classDef(mas2j.java:297)
at jason.mas2j.parser.mas2j.parameter(mas2j.java:312)
at jason.mas2j.parser.mas2j.classDef(mas2j.java:289)
at jason.mas2j.parser.mas2j.environment(mas2j.java:459)
at jason.mas2j.parser.mas2j.mas(mas2j.java:74)
at
jason.infra.centralised.RunCentralisedMAS.init(RunCentralisedMAS.java:160)
at jason.infra.centralised.RunCentralisedMAS.main(RunCentralisedMAS.java:97)
Exception in thread "main" java.lang.NullPointerException
at
jason.infra.centralised.RunCentralisedMAS.createEnvironment(RunCentralisedMAS.java:353)
at
jason.infra.centralised.RunCentralisedMAS.create(RunCentralisedMAS.java:200)
at jason.infra.centralised.RunCentralisedMAS.main(RunCentralisedMAS.java:98)
It is not serious, but I think it help the develop to use the Envrionment
params.
Thanks.
-- 
Ass: Marcos Côrtes
Mestrando Computação - UFF
 | 
| 
     
      
      
      From: Jomi F. H. <jo...@da...> - 2011-09-21 16:23:27
      
     
   | 
Dear Pooja, there are many examples that use an environment: examples/airport examples/blocks-world examples/cleaning-robots examples/domestic-robot .... regarding a specific GUI for an agent, see demos/gui Also the chap 5 of the jason book covers this topic. HTH, Jomi On 21/09/2011, at 12:07, pooja vashisth wrote: > Hi Jomi, > > I created a gui env using a java file but how do I include it in my jason project. I am not able to run the file on command prompt. The java code written in jason should not contain a main(I suppose). How do I compile the code and use the gui in my jason project? I have gone thru the FAQ soln. of setting classpath but even tht is not working? > > Also the elec. bookstore example in jason is not running. It needs to run some ant.saci file which i cant find in the project. saci is not getting initialised due to it . what to do in tht case. Please if u can me out in these issues.I need to create a web app. > > Thanks in advance, > Pooja. > > > Treat yourself at a restaurant, spa, resort and much more with Rediff Deal ho jaye! -- Jomi Fred Hubner Federal University of Santa Catarina Department of Automation and Systems Engineering PO Box 476, Florianópolis, SC 88040-900 Brazil http://www.das.ufsc.br/~jomi  | 
| 
     
      
      
      From: Rafael H B. <r.b...@ac...> - 2011-09-17 21:44:37
      
     
   | 
Hi Willem,
Some languages (eg jadex) have other types of plan conditions (including 
what they called in-conditions). There is not explicit extra syntax for 
that in Jason but there are various ways in which you could do what you 
want. Just note that it isn't clear you want the body of the plan to 
actually repeat or you just wanted an invariant for the duration of one 
execution. I'll assume the latter first.
1) The normal way to approach this in Jason's extension of AgentSpeak is 
for you to think of the condition for the plan to remain in execution as 
in fact the condition for another plan to execute which will in turn 
drop the plan currently executing. For example, you have a plan
!g1: b1 & b2 <- a1 ... .
and you wanted that guard (b1 & b2) to be valid throughout the execution 
of the body, you could try a plan like
-b1 : ... <- .drop_goal(g1).
or
+~b1 ... if you're using open world and similarly for b2.
(note that in complex scenarios you might need to customise Jason to 
ensure priority for this kind of event)
2) Another way to do that kind of context would be to annotation the 
plan with that condition and use a specialised method for intention 
selection (the Jason book might give some hint on how to do it but would 
involve some advanced knowledge of Jason).
If you want to repeat a plan's body, rather than using imperative 
programming constructs, consider using a recursive plan. If it's a short 
plan and it makes sense for it to be atomic (but be very careful with a 
recursive atomic plan!), you also ensure the whole course of action 
takes place while the context is still valid:
@my_plan[atomic]
+!g1 : b1&b2 : a1; ... !g1.
+!g1.
Also, have a look at .wait which helps with some interesting tricks too.
HTH,
Rafael
On 17/09/2011 09:51, Willem Timmers wrote:
> Hi,
>
> I was wondering if anyone knows a straightforward way of programming a 
> _hard plan context of relative beliefs?_
>
> Let me explain what i mean.
> When the plan context ("when a plan should be considered applicable") 
> should be valid during the whole course of actions of that plan (what 
> I call a /hard plan context/), I use the following code:
> +!g :
> *       a_belief1 *&*a_belief2*
> <-
> *       while(a_belief *&*a_belief2)* {
>  some;
>          course;
>          of;
>  action;
> **}
>        ?g.
>
> This works fine for logical formulas without Variables in them (e.g. 
> a_belief1 and a_belief2). Now, my question is, how to can i program a 
> /hard context/ with a logical formula with a comparison (what i mean 
> with /relative/) of Variables that are highly dynamic . In the 
> previous example:
>
> +!g :
> *       a_belief1(X)* & *a_belief2(Y) *&*X>Y*
> <-
> *       while(a_belief1(X) *&* a_belief2(Y) *&*X>Y )* {
>  some;
>          course;
>          of;
>  action;
> **}
>        ?g.
>
> In this way, these Variables X and Y get instantiated at the selection 
> of this plan, while they probably change every second (so the logical 
> expression is not valid anymore in real-time). Turning this context 
> into a/soft plan context./
>
> Is there a straightforward way of programming a _hard plan context of 
> relative beliefs?_
>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> http://p.sf.net/sfu/rim-devcon-copy2
>
>
> _______________________________________________
> Jason-users mailing list
> Jas...@li...
> https://lists.sourceforge.net/lists/listinfo/jason-users
 | 
| 
     
      
      
      From: Willem T. <wil...@ho...> - 2011-09-17 12:51:35
      
     
   | 
Hi,
I was wondering if anyone knows a straightforward way of programming a hard plan context of relative beliefs?
Let me explain what i mean.When the plan context ("when a plan should be considered applicable") should be valid during the whole course of actions of that plan (what I call a hard plan context), I use the following code:
+!g :        a_belief1 & a_belief2      <-        while(a_belief & a_belief2) { 	 some;         course;         of;	 action;       }       ?g.
This works fine for logical formulas without Variables in them (e.g. a_belief1 and a_belief2). Now, my question is, how to can i program a hard context with a logical formula with a comparison (what i mean with relative) of Variables that are highly dynamic . In the previous example:
+!g :        a_belief1(X) & a_belief2(Y) & X>Y     <-        while(a_belief1(X) & a_belief2(Y) & X>Y ) { 	 some;         course;         of;	 action;       }       ?g.
In this way, these Variables X and Y get instantiated at the selection of this plan, while they probably change every second (so the logical expression is not valid anymore in real-time). Turning this context into a soft plan context.
Is there a straightforward way of programming a hard plan context of relative beliefs? 		 	   		   | 
| 
     
      
      
      From: Jomi H. <jom...@gm...> - 2011-09-09 19:59:34
      
     
   | 
Dear Marcos, thanks for debugging the code. It is indeed a bug. I fixed it in the SVN of Jason http://sourceforge.net/projects/jason/develop you can also find a copy of jason.jar at http://www.das.ufsc.br/~jomi/x/jason.jar (simply replace your jason.jar by the above) HTH, Jomi On 09/09/2011, at 15:31, Marcos Côrtes wrote: > I thank you :) (and sorry my english...) > > I have used this version... > > But I have tried the .asl: > > [code] > // Agent sample in project TaskAlloc > > /* Initial beliefs and rules */ > > /* Initial goals */ > !generateA. > //!sendIt. > /* Plans */ > > +!generateA:.my_name(M)<- > +a(M); > .wait(100); > !sendIt. > > +!sendIt:.all_names(AGENTS)<- > .send(AGENTS, askOne, a(_), LIST); > .print("List is: ", LIST); > +list(LIST); > . > [/code] > > > And I only receive the first answer of receivers :/ > > I looked the code and i think the problem is in TansitionSystem.java@238 line: > > [code] if (send.getTerm(0).isList()) { // send to many receivers [/code] > > the term in position 0 (when I run the asl code) is of VarTerm class and does not a "List" term. > > If I use the .send internal action in this way:".send([a,b], askOne, a(_), LIST);" it work because I use a explicit list. :( > > > Well, is there one way to I use the .send with VarTerm? I need it because in my problem I do a pre-proccess in the AGENTS list to select a sublist to send the askOne message. > > best regards.... > > Marcos Côrtes > > 2011/9/8 Jomi Hubner <jom...@gm...> > Hello Marcos, > > the latest version of Jason (1.3.5), just released, supports synchronous ask with several receivers. All the answers are collected into a list. For instance, in > > .send([b,c],askOne,vl(_),L) > > L will unify with > > [vl(1)[source(b)],vl(2)[source(c)]] > > HTH, > > Jomi > > > On 08/09/2011, at 16:39, Marcos Côrtes wrote: > > > Hello... I need a help... > > > > I have tried build a ContractNet example with jason.. > > > > But, I need make a "send message" for multiples receivers and receive ALL their answers. > > > > Example: > > > > .send([a, b, c], askOne, ask(), ANSWERS); > > //wait the all answers in ANSWERS. > > for(.member(A, ANSWERS)) > > { > > //manipulate a unique answer A in ANWERS > > } > > > > > > I try use the .send internal action with "askOne", but it only wait the first answer for return to the intention/plan. > > > > > > There is other way to make it? (I do now my agent send and receive the askOne answer for each agent receiver with multiples ".send". But it is very slow!). > > > > > > Thanks. > > > > -- > > Ass: Marcos Côrtes > > Mestrando Computação - UFF > > ------------------------------------------------------------------------------ > > Doing More with Less: The Next Generation Virtual Desktop > > What are the key obstacles that have prevented many mid-market businesses > > from deploying virtual desktops? How do next-generation virtual desktops > > provide companies an easier-to-deploy, easier-to-manage and more affordable > > virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/_______________________________________________ > > Jason-users mailing list > > Jas...@li... > > https://lists.sourceforge.net/lists/listinfo/jason-users > > -- > Jomi Fred Hubner > Federal University of Santa Catarina > Department of Automation and Systems Engineering > PO Box 476, Florianópolis, SC > 88040-900 Brazil > http://www.das.ufsc.br/~jomi > > > > > -- > Ass: Marcos Côrtes > Mestrando Computação - UFF -- Jomi Fred Hubner Federal University of Santa Catarina Department of Automation and Systems Engineering PO Box 476, Florianópolis, SC 88040-900 Brazil http://www.das.ufsc.br/~jomi  | 
| 
     
      
      
      From: Marcos C. <o.p...@gm...> - 2011-09-09 18:31:48
      
     
   | 
I thank you :) (and sorry my english...)
I have used this version...
But I have tried the .asl:
[code]
// Agent sample in project TaskAlloc
/* Initial beliefs and rules */
/* Initial goals */
!generateA.
//!sendIt.
/* Plans */
+!generateA:.my_name(M)<-
 +a(M);
.wait(100);
!sendIt.
+!sendIt:.all_names(AGENTS)<-
.send(AGENTS, askOne, a(_), LIST);
.print("List is: ", LIST);
 +list(LIST);
.
[/code]
And I only receive the first answer of receivers :/
I looked the code and i think the problem is in TansitionSystem.java@238line:
[code] if (send.getTerm(0).isList()) { // send to many receivers [/code]
the term in position 0 (when I run the asl code) is of VarTerm class and
does not a "List" term.
If I use the .send internal action in this way:".send([a,b], askOne, a(_),
LIST);" it work because I use a explicit list. :(
Well, is there one way to I use the .send with VarTerm? I need it because in
my problem I do a pre-proccess in the  AGENTS list to select a sublist to
send the askOne message.
best regards....
Marcos Côrtes
2011/9/8 Jomi Hubner <jom...@gm...>
> Hello Marcos,
>
> the latest version of Jason (1.3.5), just released, supports synchronous
> ask with several receivers. All the answers are collected into a list. For
> instance, in
>
>        .send([b,c],askOne,vl(_),L)
>
> L will unify with
>
>        [vl(1)[source(b)],vl(2)[source(c)]]
>
> HTH,
>
> Jomi
>
>
> On 08/09/2011, at 16:39, Marcos Côrtes wrote:
>
> > Hello... I need a help...
> >
> > I have tried build a ContractNet example with jason..
> >
> > But, I need make a "send message" for multiples receivers and receive ALL
> their answers.
> >
> > Example:
> >
> > .send([a, b, c], askOne, ask(), ANSWERS);
> > //wait the all answers in ANSWERS.
> > for(.member(A, ANSWERS))
> > {
> >    //manipulate a unique answer A in ANWERS
> > }
> >
> >
> > I try use the .send internal action with "askOne", but it only wait the
> first answer for return to the intention/plan.
> >
> >
> > There is other way to make it? (I do now my agent send and receive the
> askOne answer for each agent receiver with multiples ".send". But it is very
> slow!).
> >
> >
> > Thanks.
> >
> > --
> > Ass: Marcos Côrtes
> > Mestrando Computação - UFF
> >
> ------------------------------------------------------------------------------
> > Doing More with Less: The Next Generation Virtual Desktop
> > What are the key obstacles that have prevented many mid-market businesses
> > from deploying virtual desktops?   How do next-generation virtual
> desktops
> > provide companies an easier-to-deploy, easier-to-manage and more
> affordable
> > virtual desktop model.
> http://www.accelacomm.com/jaw/sfnl/114/51426474/_______________________________________________
> > Jason-users mailing list
> > Jas...@li...
> > https://lists.sourceforge.net/lists/listinfo/jason-users
>
> --
> Jomi Fred Hubner
> Federal University of Santa Catarina
> Department of Automation and Systems Engineering
> PO Box 476, Florianópolis, SC
> 88040-900 Brazil
> http://www.das.ufsc.br/~jomi
>
>
-- 
Ass: Marcos Côrtes
Mestrando Computação - UFF
 | 
| 
     
      
      
      From: Jomi H. <jom...@gm...> - 2011-09-08 20:53:02
      
     
   | 
Hello Marcos,
the latest version of Jason (1.3.5), just released, supports synchronous ask with several receivers. All the answers are collected into a list. For instance, in 
	.send([b,c],askOne,vl(_),L)
L will unify with 
	[vl(1)[source(b)],vl(2)[source(c)]]
HTH,
Jomi
On 08/09/2011, at 16:39, Marcos Côrtes wrote:
> Hello... I need a help...
> 
> I have tried build a ContractNet example with jason..
> 
> But, I need make a "send message" for multiples receivers and receive ALL their answers.
> 
> Example:
> 
> .send([a, b, c], askOne, ask(), ANSWERS);
> //wait the all answers in ANSWERS.
> for(.member(A, ANSWERS))
> {
>    //manipulate a unique answer A in ANWERS
> }
> 
> 
> I try use the .send internal action with "askOne", but it only wait the first answer for return to the intention/plan.
> 
> 
> There is other way to make it? (I do now my agent send and receive the askOne answer for each agent receiver with multiples ".send". But it is very slow!).
> 
> 
> Thanks.
> 
> -- 
> Ass: Marcos Côrtes
> Mestrando Computação - UFF
> ------------------------------------------------------------------------------
> Doing More with Less: The Next Generation Virtual Desktop 
> What are the key obstacles that have prevented many mid-market businesses
> from deploying virtual desktops?   How do next-generation virtual desktops
> provide companies an easier-to-deploy, easier-to-manage and more affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/_______________________________________________
> Jason-users mailing list
> Jas...@li...
> https://lists.sourceforge.net/lists/listinfo/jason-users
-- 
Jomi Fred Hubner
Federal University of Santa Catarina
Department of Automation and Systems Engineering
PO Box 476, Florianópolis, SC
88040-900 Brazil
http://www.das.ufsc.br/~jomi
 | 
| 
     
      
      
      From: Marcos C. <o.p...@gm...> - 2011-09-08 19:39:34
      
     
   | 
Hello... I need a help...
I have tried build a ContractNet example with jason..
But, I need make a "send message" for multiples receivers and receive ALL
their answers.
Example:
.send([a, b, c], askOne, ask(), ANSWERS);
//wait the all answers in ANSWERS.
for(.member(A, ANSWERS))
{
    //manipulate a unique answer A in ANWERS
}
I try use the .send internal action with "askOne", but it only wait the
first answer for return to the intention/plan.
There is other way to make it? (I do now my agent send and receive the
askOne answer for each agent receiver with multiples ".send". But it is very
slow!).
Thanks.
-- 
Ass: Marcos Côrtes
Mestrando Computação - UFF
 |