flamegpu / docs Goto Github PK
View Code? Open in Web Editor NEWRead the docs documentation for FLAMEGPU 1.x
Home Page: http://docs-v1.flamegpu.com
Read the docs documentation for FLAMEGPU 1.x
Home Page: http://docs-v1.flamegpu.com
It may be worthwhile documenting the preferred approach to parameter exploration for FLAME GPU models.
I.e. as of 1.5 this is:
Document new Agent ID generation functionality when merged.
generate_<AgentName>_id()
set_initial_<AgentName>_id()
id
of an integer type.Document the newly created min and max analytics functions, available for non-vector, non-array agent variables.
Should be possible for vectors but would require a custom comparison object.
From http://readthedocs.org/projects/flamegpu/builds/6522833/:
python2.7 -mvirtualenv --no-site-packages --no-download /home/docs/checkouts/readthedocs.org/user_builds/flamegpu/envs/latest
python /home/docs/checkouts/readthedocs.org/user_builds/flamegpu/envs/latest/bin/pip install --use-wheel --upgrade --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/flamegpu/.cache/pip Pygments==2.2.0 setuptools==37.0.0 docutils==0.13.1 mock==1.0.1 pillow==2.6.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.5.4 recommonmark==0.4.0 sphinx<2 sphinx-rtd-theme<0.3 readthedocs-sphinx-ext<0.6
python /home/docs/checkouts/readthedocs.org/user_builds/flamegpu/envs/latest/bin/pip install --exists-action=w --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/flamegpu/.cache/pip -rrequirements.txt
python setup.py install --force
python: can't open file 'setup.py': [Errno 2] No such file or directory
Document accessing agent data on the host in init/exit/step functions.
Do this VERY clearly, as there may be significant performance implications.
Possibly also include an example / details of how to implement a custom output function.
Document get_exit_early()
and set_exit_early()
Also document exit functions executing on window close via freeglut (if merged)
Spatially partitioned messaging (and discrete messaging) both wrap in the X and Y dimensions. This should be clearly stated in the documentation.
From 1.5 it will be possible to create agents from the host, in init
functions, step
functions, or any host code which is executed between calls to single_iteration()
.
This needs adding to the documentation.
To add clarity to the documentation about which types of agents can output which types of message would be useful.
I.e
Message Type | Continuous Agents | Discrete Agents |
---|---|---|
partitioningNone | Yes | No |
partitioningDiscrete | No | Yes |
partitioningSpatial | Yes | No |
It could just be an explicit statement rather than a table, but a table would add clarity if we have additional messaging types
The docs don't appear to mention accessing agent array data on the device at all.
This is a massive oversight which should be resolved.
I.e from the stable marriage example:
woman = get_Man_agent_array_value<int>(agent->preferred_woman, round);
New macros in 1.5 for the type of message partitioning used for a given message type should be docuumented with an example.
I.e. xmachine_message_location_partitioningSpatial
is defined for a message of name location
using spatial parititioning. See FLAMEGPU/FLAMEGPU#121
We need to add details about the use of vector and unsigned types for 1.5.X
Need to document new communication strategy.
The linked RTD badge in the readme refers to latest
which we have disabled in favour of master / certain branches / tags. This should be updated
PAUSE_ON_START
in visualisation.h
We may wish to:
From FLAMEGPU/FLAMEGPU#66
The Makefiles have been updated in flamegpu/rc1.5/alternate-makefiles
(FLAMEGPU/FLAMEGPU#112) and the documentation should reflect the changes.
Provide details of:
tools/new_example.py
)Discrete Partitioned Messaging with radius 0
returns the value from the individual cell (i.e PedestrianNavigation).
Discrete Partitioned Messaging with radius > 0
, i.e. 1
returns the neighbouring 8
cells and not the cell at the centre.
This means that using the same message list for discrete->discrete communication and discrete -> continuous communication doesn't work, and 2 message lists must be used.
This is a limitation in FLAME GPU 1, but will be avoided in FLAME GPU 2, with baked-in self-message ignoring.
I.e. in flamegpu/modelspec.rst
Both the mintinline[fontsize=small]{text}{lhs} and mintinline[fontsize=small]{text}{rhs} elements may
OUTPUT_TO_XML
via additional optional argument in console mode.docs/flamegpu/api.rst:467
Nowhere in the docs does it state what range the RNG returns (presumably 0<=x<1
. but it's not clear from the code either).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.