|
From: Nick C. <nic...@ve...> - 2002-07-08 19:41:37
|
Hi, Here's an old test file I found. I can't guarantee it or anything like it will work. The XMLParameterReader is sort of a failed experiment to do batch parameter files better. I wasn't really happy with the results and should probably remove XMLParameterReader from the distribution. This did work when I was writing the reader, so feel free to try it. Nick <?xml version="1.0"?> <Repast:Params xmlns:Repast="http://www.src.uchicago.edu" name="myparams"> <Repast:ParamBlock runs="1"> <Repast:Param name="pConst" type="const" value="3"/> <Repast:Param name="pStringList" type="string_list" value ="sam bill joe george mary jean"> <Repast:ParamBlock runs="2"> <!-- only need this runs if not same as parent --> <Repast:Param name="pIncr2" type="incr" start=".1" end=".2" incr=".1"/> </Repast:ParamBlock> </Repast:Param> </Repast:ParamBlock> </Repast:Params> <!-- runs: 1 pIncr { start: 1 end: 5 incr: 1 { runs: 1 pIncr2 { start: .1 end: .2 incr: .1 } } } <Repast:ParamBlock runs="1"> <Repast:Param name="MaxAge" type="list" value="1.2 3 10 12 84"/> <Repast:Param name="Off" type="boolean_list" value="true false true false"/> </Repast:ParamBlock> </Repast:Param> <Repast:Param name="On" type="boolean_list" value="true false true false"/> <Repast:Param name="RngSeed" type="const" value="1"/> </Repast:ParamBlock> <Repast:Param name="pBoolList" type="boolean_list" value ="true false true false false"/> </Repast:Param> </Repast:Params> --> On Mon, 2002-07-08 at 15:25, Frank Blecha wrote: > Nick, > > Is there any more doc/examples for XMLParameterReader than the class > itself? I didn't see the referenced "pFile.xml" from > XMLParameterReader.main , and there doesn't seem to be a dtd anywhere... > > - Frank > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Oh, it's good to be a geek. > http://thinkgeek.com/sf > _______________________________________________ > Repast-developer mailing list > Rep...@li... > https://lists.sourceforge.net/lists/listinfo/repast-developer -- Nick Collier Social Science Research Computing University of Chicago http://repast.sourceforge.net |