设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4577|回复: 0

[求助] repast1.2.0版怎样自定义space

[复制链接]
发表于 2012-8-29 11:37:22 | 显示全部楼层 |阅读模式
参考predator的示例生成了一个continuous的space,语句如下:
4 ^; |4 Z6 h( J' y, L- i0 h/ FontinuousSpaceFactoryFinder.createContinuousSpaceFactory(null).createContinuousSpace("Continuous Space", context,new
5 q! n2 s/ U+ `* `  u5 z                                 RandomCartesianAdder<SimplePedestrian>(),( b2 C- V! t6 J0 G
                                 new repast.simphony.space.continuous.WrapAroundBorders(),xdim,ydim,1);9 W* n. Y  V8 y1 l* `
但这个语句只能生成方形的空间?我想要一个不规则的形状,怎样自己画呢?而且不同边的边界条件不一样。
& V. ~. E( Q2 z& A7 l2 X2 m比如下面这样的
8 a2 }$ i8 Y( d8 Y) ^1 K1 E& W+ x* L
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2025-12-20 22:37 , Processed in 0.015427 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表